-
Notifications
You must be signed in to change notification settings - Fork 8
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
New channel for in-progress development distribution #121
Comments
@martinkrulltott could you provide a summary of the discussion for context? I cannot access the thread you linked. |
Publishing to "alpha" does have some drawbacks, but before assuming what the context is for this discussion I have questions. To clarify some terminology, with "channel" do you mean:
Why is developing in the open and publicly releasing immutable development builds of our libraries not the right approach? |
Hey @varl , sorry for the internal Slack link and lack of backstory/info.
If the need for an Analytics change is needed during the app development, go back to step 2-3, using a new alpha version. Examples of Analytics branches / alphas used in this way are: Using the alpha versions as checkpoints means that app development / testing / reviewing / pair-programming can be performed without our "special" manual way of setting up local Analytics <-> local app and makes switching back and forth between different ones a lot easier. The app branch can thus be used independently, without any knowledge of how to setup Analytics and it completely removes the risk of running in to issues caused by mismatching Analytics versions. The only drawback I've found so far is the fact that manually publishing alpha versions means you manually have to select the version number to publish (e.g. dhis2/analytics#529 uses 8.3.0-alpha), which could obviously become an issue if you choose the wrong one or if they're not subsequently released in the order they were created. However, with only 1-2 devs simultaneously creating alphas I don't think this is very hard to coordinate. But @amcgee didn't agree and prefer a different solution, which I'm not yet fully across. But I hope this note will be a good starting point for a discussion 👍 |
@varl the main thing I have issue with here is that these aren’t true I fully agree we should keep things open, immutable, and permanent but manually publishing to |
I am reasonably confident that semantic-release figures out what version of |
@varl these “alpha” releases do not use the alpha branch, which works as you would expect. They are manually published to npm by a dev on a local machine. That’s what I’m saying we need to avoid.
|
Thanks for the context, @martinkrulltott & @amcgee ! :) As far as immutable/permanent/open for devleopment builds goes, we use Using GitHub Packages for development could fill that gap. The |
Gotcha. Thanks for clarifying, I did assume "manual" meant "manually raising and merging a PR to e: While I do think it is fine to merge a feature to alpha that is half-baked and iterate on it, and that it may be cut before release if we realize that we do not need it anymore, what we need here is slightly different from an alpha in that regard. |
Currently Analytics apps use alpha versions in the development process to facilitate testing and sharing code, context switching and pull request reviews.
Manually publishing public, permanent, immutable package versions for our in-progress development distribution is not the right approach. We need another channel to facilitate this.
Based on an internal discussion on Slack.
The text was updated successfully, but these errors were encountered: