Ask Your Question
3

Nested stack dependency

asked 2011-11-30 03:16:11 -0500

Aditya gravatar image

updated 2011-12-04 14:26:52 -0500

joq gravatar image

Assume stack A depends on ros stack and its stack.xml file has "<depend stack="ros"/> and assume that I create another stack B which depends on stack A and stack ros. If B's stack.xml specifies <depend stack="A"/>, does stack B also inherit "ros" stack as its dependency or do I need to explicitly specify <depend stack="ros"/> as well? Thanks.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
4

answered 2011-11-30 04:06:26 -0500

kwc gravatar image

It depends on how the stack dependency is converted -- if it is used to generate debian package dependencies, then, yes, it is inherited.

That said, it is better to explicitly enumerate your actual dependencies. For example, an intermediary stack can change its dependencies, and so you might suddenly be without this implicit dependency.

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-11-30 03:16:11 -0500

Seen: 231 times

Last updated: Nov 30 '11