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

Local development QoL for private repositories #4764

Open
matthewelwell opened this issue Oct 23, 2024 · 1 comment
Open

Local development QoL for private repositories #4764

matthewelwell opened this issue Oct 23, 2024 · 1 comment
Assignees

Comments

@matthewelwell
Copy link
Contributor

Current problems

  • Cross module dependencies are painful to work with, e.g. flagsmith-workflow -> flagsmith-common and flagsmith -> flagsmith-common causes conflicts when trying to develop on the flagsmith-workflows repository
  • Running integration tests is painful from private repositories

TODO

  • Create our own private package repository and deploy all flagsmith modules there so that we can use semver properly (so we can implement version ranges)
  • Write publishing workflows for each of the packages, including for pull requests

Suggested improvements

  • Move all integration tests out of private modules, into core repository (or a separate repository if we have concerns about the privacy of this code)
@matthewelwell
Copy link
Contributor Author

We originally created a CodeArtifact repository (currently in eu-west-2) to host public packages (e.g. flagsmith-common), however, it appears that it is not possible to make CodeArtifact repositories open to the public without additional infrastructure. As such, we plan to only use CodeArtifact for private modules (e.g. flagsmith-workflows, flagsmith-saml, etc) and we will just publish the public modules directly to pypi.

We have started a PR against the workflows repository here.

Next steps:

  • Create an IAM user (role?) specifically for publishing CodeArtifact

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

No branches or pull requests

2 participants