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

Implement features and change version number #19

Open
3 tasks
GuiBL4 opened this issue Jun 2, 2023 · 0 comments
Open
3 tasks

Implement features and change version number #19

GuiBL4 opened this issue Jun 2, 2023 · 0 comments

Comments

@GuiBL4
Copy link
Contributor

GuiBL4 commented Jun 2, 2023

Aim

This tasks aims to implement the feature system for Sleppa to implement conditional compilation. The goal is to provide several features :

  • default : enables sleppa_primitives, sleppa_commit_analyzer, sleppa_configuration and sleppa_versioner
  • changelog: enables sleppa_changelog
  • release: enables sleppa_code_archiver
  • notify: enables sleppa_notifier

Moreover, the versioning begins with 0.1.0 at the moment. While the crate is semver compatible, the version is provided by the packages uploaded either on GitHub package and crates.io.
Therefore, version on the Sleppa crate must be set at 0.0.0-semver in each Cargo.toml file. The version follows the tag in the GitHub repository.

Assumptions

  • The version is given by the tag in the GitHub repository

Acceptance criteria

  • Implements the four features
  • Sets the version number to 0.0.0-semver in all Cargo.toml file to indicate the crate follows a semantic versioning.
  • Sets the version in the main Cargo.toml to 0.0.0-semver, e.g. sleppa_primitives = { version = "0.0.0-semver", path = "crates/sleppa_primitives" }.

Risks

  • No risk

Dependencies

  • No dependencies

References

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: status: backlog
Development

No branches or pull requests

1 participant