remove nested .envrc from projects, version devtools#92
Closed
designbyajay wants to merge 30 commits intomainfrom
Closed
remove nested .envrc from projects, version devtools#92designbyajay wants to merge 30 commits intomainfrom
designbyajay wants to merge 30 commits intomainfrom
Conversation
this utility returns a list of matching directory entities for a folder, an optinoal matchDirentName lambda that evaluates to true/false, an optional matchDirentType that evaluates to true/false Signed-off-by: Ajay Ganapathy <ajay@incremental.design>
decouple stubProject.nix from importFromLanguageFolder.nix Signed-off-by: Ajay Ganapathy <ajay@incremental.design>
do not importStubProject in importFromLanguageFolder.nix Signed-off-by: Ajay Ganapathy <ajay@incremental.design>
.config/stubProject.nix → stub-project.nix Signed-off-by: Ajay Ganapathy <ajay@incremental.design>
instead of checking language-* for a stubProject.nix, check .config for a stub-project-<language>.nix move language-nix/stubProject.nix → stub-project-nix.nix Signed-off-by: Ajay Ganapathy <ajay@incremental.design>
Signed-off-by: Ajay Ganapathy <ajay@incremental.design>
Signed-off-by: Ajay Ganapathy <ajay@incremental.design>
Signed-off-by: Ajay Ganapathy <ajay@incremental.design>
stub project command can now include multiple tools, each with a version: stub-project-nix.nix → stub-project-nix_v2.33.1.nix i.e. “stub-project-[<language>_<version>].nix” e.g. stub-project-nix_v2.33.1-deno_v2.6.5.nix Signed-off-by: Ajay Ganapathy <ajay@incremental.design>
decouple from from devShell.nix Signed-off-by: Ajay Ganapathy <ajay@incremental.design>
Signed-off-by: Ajay Ganapathy <ajay@incremental.design>
make a tool.nix that imports tool-<name>_<version>.nix. The goal is to maintain links to versions of tools that are needed to run project-* commands Signed-off-by: Ajay Ganapathy <ajay@incremental.design>
tool.nix imports tool-<name>_v<MAJOR>.<MINOR>.<PATCH>.nix files and arranges them into an attrset in which name.major.minor.patch points to the bin with the tool Signed-off-by: Ajay Ganapathy <ajay@incremental.design>
parse-manifest-* receives a manifest file and returns tool, version, and the corresponding project-lint, project-lint-semver, project-build, project-test, project-publish commands Signed-off-by: Ajay Ganapathy <ajay@incremental.design>
dev-shell.nix will replace devShell.nix it provides a simpler definition for project-lint project-lint-semver project-build project-test note: we don’t provide a project-bump-semver because CI will never run this command! note: we don’t provide a project-publish, because each manifest file gets its own project-publish github action Signed-off-by: Ajay Ganapathy <ajay@incremental.design>
Signed-off-by: Ajay Ganapathy <ajay@incremental.design>
chore: make github actions use dev-shell.nix cmds
we no longer need language-* folders because now we just put all config in the .config folder, with no nesting
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
projects are now any folder with manfest files in them. All devtools for all projects are now loaded in the root dev shell. The dev shell now reads the project manifest and selects the correct versions of the dev tools for the manifest. Each nix package in a nix flake is now separately versioned and tagged. Projects can now be nested in each other.