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

Replace python script with gradle build #6

Open
at055612 opened this issue Jan 24, 2017 · 2 comments
Open

Replace python script with gradle build #6

at055612 opened this issue Jan 24, 2017 · 2 comments

Comments

@at055612
Copy link
Member

We should be able to use gradle to build the content packs. Each pack can be a gradle sub project, possibly even one sub project per pack version. We can then use gradle to manage the dependencies between packs and do all the packaging.

@at055612
Copy link
Member Author

We may be able to use a gradle plugin to do something similar to what was done in stroom for downloading specific versions of released content pack zips from github, thus treating it a bit like maven central.

This would rely on each version of a pack being tagged and released with a name conforming to a strict convention.

This may need to be looked at in conjunction with #11.

@at055612
Copy link
Member Author

at055612 commented Jul 5, 2017

The PR #15 adds in a gradle build that can handle pack dependencies. The versioning issue still remains, but this is a wider issue as it needs to be thought about with a view to how we want Stroom to handle different versions of entities. Does each new version of an entity get a new UUID, in which case when we import a new version that is only a patch version e.g. 1.0.0 -> 1.0.1 do we really want a whole new entity in stroom.

An alternative may be to issue a new UUID when we have a breaking change (major version uplift) , but this would mean existing entities with dependencies on our v1.0.1 entity would automatically adopt the new version. Possibly not always desirable.

Another alternative would be for Stroom to manage versions within an entity so entities can reference another entity by uuid and version.

at055612 added a commit that referenced this issue Jul 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant