Ask Your Question
2

What do the platform tags in manifest.xml mean and when are they added?

asked 2011-10-18 13:45:45 -0500

Chad Rockey gravatar image

updated 2011-10-18 16:41:18 -0500

kwc gravatar image

I can't seem to find the answer to this in the manifest xml reference, but in some manifest files I see tags like:

  <platform os="ubuntu" version="9.04"/>
  <platform os="ubuntu" version="9.10"/>
  <platform os="ubuntu" version="10.04"/>

What do they represent and when are these tags added?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2011-10-18 15:15:38 -0500

kwc gravatar image

We've experimented with them on our backend to test platform-specific builds (there are flags in rosmake that can make use of them). In practice, it turns out to not be good in this role. While in theory it's nice to store this information with the code, it means that the code has to be updated/released every time you compute this information, which is not scalable for the number of packages that are now in use. That's why you tend to not see them very up-to-date.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2011-10-18 13:45:45 -0500

Seen: 250 times

Last updated: Oct 18 '11