Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Declaring dependencies #10

Closed
d-stahl-ericsson opened this issue May 16, 2016 · 2 comments
Closed

Declaring dependencies #10

d-stahl-ericsson opened this issue May 16, 2016 · 2 comments
Labels
protocol All protocol changes
Milestone

Comments

@d-stahl-ericsson
Copy link
Contributor

d-stahl-ericsson commented May 16, 2016

One use case that is not currently addressed is declaration of dependencies. I have seen this done using Eiffel in rather home grown ways... I feel as though I haven't quite thought this through, but I'm throwing it out there. The use case is essentially this:

Not only do I need to declare the composition of my artifact, but I also want to declare its dependencies so that I can check whether a higher level composition, containing the artifact, is actually legal (i.e. containing the dependencies declared by the artifact).

The main issue I see is how to deal with version ranges here - you don't want to point to a range of versions, sort of like Maven dependencies. Or you could go convention-heavy and essentially expect semantic versioning. Or point to a specific version (i.e. event id) and expect the reader (with an understanding of one's particular versioning scheme) to make sense of the version range that should be acceptable. And speaking of Maven, we're on stepping into territory where I'm afraid we'll end up re-inventing the wheel.

@d-stahl-ericsson
Copy link
Contributor Author

This will need to be resolved in no later than drop2, as it included CompositionDefined.

@d-stahl-ericsson d-stahl-ericsson added this to the Drop 2 milestone May 25, 2016
@d-stahl-ericsson d-stahl-ericsson modified the milestones: Drop 3, Drop 2 Jun 16, 2016
@d-stahl-ericsson
Copy link
Contributor Author

I'm currently seeking feedback from a number of sources and am planning a workshop regarding this. Current thinking is that this is not so much a CompositionDefined issue, but an ArtifactCreated issue: it's not the composition's business to tell its elements what they need. The composition should, however, be useful in determining legality based on what the constituent artifacts have declared.

In summary, this boils down to a likely addition to ArtifactCreated at a later date, possibly as part of drop3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
protocol All protocol changes
Projects
None yet
Development

No branches or pull requests

2 participants