introduction of the documentation
Motivation :
- have documentation and nixos-compose project in the same repository
- do it so that a change in one does not trigger a rebuild of the other
The addition of the documentation introduces some changes in the flake.nix
and on the structure of the repository. Here the nixos-compose project got nested in the nixos-compose folder. Files pyproject.toml
and poetry.lock
are not anymore at the root of the repo.
Is it something wanted ?
Little addition :
- fix of a poetry bug by upgrading to a more recent version with the use of
nixpkgs/nixos-22.05
Bonus question
Are we keeping shell.nix
since we have devShells
outputs ? Which behaviours do we want in nix develop
and nix shell
?
Merge request reports
Activity
assigned to @jbleuzen
unassigned @jbleuzen
I just merged the documentation into master in 28a7e55b so I close this issue.
To do so I needed to completely rewrite the history of this branch to remove the changes not related to the documentation.
- First with a bazooka command to clean most things (
HEAD
was the previous head commit of thedocs
branch: 18e30614).
git filter-branch -f --index-filter \ 'git rm -rf --cached --ignore-unmatch -- nixos-compose nixos_compose examples nix tests .pre-commit-config.yaml poetry.lock pyproject.toml flake.nix flake.lock' -- HEAD ^$(git merge-base HEAD master)
- Then by dropping the
compliance to most recent flake output schema
commit withgit rebase -i $(git merge-base HEAD master)
. - Then by adding the
doc
flake output toflake.nix
(see 1ca49cbb)
Please keep unrelated changes in separated branch next time, it would have made the integration of the changes much easier
- First with a bazooka command to clean most things (