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

Nix Integration #226

Merged
merged 33 commits into from
Feb 28, 2024
Merged

Nix Integration #226

merged 33 commits into from
Feb 28, 2024

Conversation

mara-schulke
Copy link
Contributor

@mara-schulke mara-schulke commented Feb 20, 2024

This branch reassembles the changes done by @j-baker on buffrs 0.7.1 for nix support but used the latest buffrs version as base branch.

Introduces

  • buffrs::cache – a filesystem cache for packages downloaded during the installation (takes precedence over network requests)
  • The BUFFRS_CACHE environment variable to set the cache directory
  • buffrs lock print-files – prints the files that buffrs requires to be downloaded as JSON to stdout
  • buffrs publish --version – the version option can be used to override the manifests version while publishing
  • buffrs package --version – the version option can be used to override the manifests version while packaging
  • A nix implementation that populates the buffrs cache

Removes

  • buffrs generate – remove the code generation command
  • buffrs::build! – remove the build macro from buffrs due to compatibility issues
  • buffrs::generate – remove the code generation implementation

Updates

  • Documentation on the above

The contents of this PR are based entirely of #172

@mara-schulke mara-schulke added docs::crate Improvements or additions to documentation datamodel Changes related to the Datamodel component::cli Everything related to the buffrs cli priority::high Urgent change or idea, please review quickly integration Changes and ideas related to integrating buffrs with 3rd-party software or tools complexity::high Issues or ideas that are highly complex. require discussion and may affect backwards compatibility type::epic An epic change. This is going to make a big difference to buffrs as a product. docs::book Adding, rewriting or removing chapters from the buffrs book docs::project Documenting the project vision, design decisions etc labels Feb 20, 2024
@mara-schulke mara-schulke added this to the Stabilization milestone Feb 20, 2024
@mara-schulke mara-schulke self-assigned this Feb 20, 2024
@mara-schulke mara-schulke marked this pull request as draft February 20, 2024 10:56
@mara-schulke mara-schulke marked this pull request as ready for review February 21, 2024 12:37
@mara-schulke mara-schulke merged commit d6c2479 into main Feb 28, 2024
7 checks passed
@mara-schulke mara-schulke deleted the mara/nix branch February 28, 2024 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
complexity::high Issues or ideas that are highly complex. require discussion and may affect backwards compatibility component::cli Everything related to the buffrs cli datamodel Changes related to the Datamodel docs::book Adding, rewriting or removing chapters from the buffrs book docs::crate Improvements or additions to documentation docs::project Documenting the project vision, design decisions etc integration Changes and ideas related to integrating buffrs with 3rd-party software or tools priority::high Urgent change or idea, please review quickly type::epic An epic change. This is going to make a big difference to buffrs as a product.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants