-
Notifications
You must be signed in to change notification settings - Fork 3
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
Setup ci/versioning/releases etc #5
Comments
This would make a nice checklist or process document in handbook. I imagine we'll need to repeat this many times as we bring MeltanoLabs and other repos along with all the same best practices. |
@aaronsteers Yea it probably wouldn't hurt if we setup a template repo - https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-template-repository . So at least future repo's don't require as much manual config. |
@kgpayne do you think this could be a good candidate for dynamic versioning? cc @aaronsteers |
@edgarrmondragon @WillDaSilva @aaronsteers I think yes for the EDK, but I still have concerns about the copier template 🤔 Copier itself uses git tags to manage versions and to perform
It may be safe to bump the version using poetry dynamic versioning (which also relies on git tags) but that would have some foreseeable issues:
I would recommend we create a new repo called |
@kgpayne I think the benefits of having the copier template in the same repo outweigh the issues, since there's also issues with spinning out the template, especially keeping it in-sync. I took a look at the git topic and one of the first projects there is https://github.com/pawamoy/copier-poetry with dependencies extremely out-of-date, so I wonder if the git topic is how most folks discover copier templates. |
My preference is also to keep the templates together in the same repo with the EDK. This probably means that dynamic versioning is not an immediate option, and instead we'll need to use a version bump workflow like we have for the SDK. While I understand that this also creates difficulties in referencing the templates from non-root paths, our precious findings on this front were that there were workarounds on our side that do not degrade the user experience. @kgpayne - If it's worthwhile to dive deeper into other tradeoffs or implementation difficulties with the shared-repo approach, can you spin off a discussion for us to compile our thoughts around the respective challenges? Thanks! |
@aaronsteers do you have a link to "previous findings on this front"? I can't find a working example of the approach you describe, and according to the copier docs what we are trying to do here in the EDK is explicitly called out as unsupported. Happy to spin off a discussion if there isn't a working reference or existing thread 👍 For context, I don't believe using a different release process (version bump) resolves the issue - version bump still creates git tags, which copier will interpret as new copier templates whether there are changes or not. It still means 'empty' copier updates for a majority of EDK releases. I understand the convenience of having templates with their libraries, but that isn't a use case copier supports yet. It might be possible to make it work, by adopting PEP440 versioning for the EDK and putting up with empty copier updates, but at the risk of compromising the copier update feature in some future release. It may be worth experimenting with an example repo to see exactly how dynamic versioning and copier update could work together. |
Need:
The text was updated successfully, but these errors were encountered: