Basic Darcs + Pijul support (ignoring VCS dirs); Direnv (separated)#503
Open
toastal wants to merge 3 commits intogittup:masterfrom
Open
Basic Darcs + Pijul support (ignoring VCS dirs); Direnv (separated)#503toastal wants to merge 3 commits intogittup:masterfrom
toastal wants to merge 3 commits intogittup:masterfrom
Conversation
Author
|
Works for me in a Nix overlay {
overlays = {
tools = final: prev: {
tup = prev.tup.overrideAttrs (
finalAttrs: prevAttrs: {
version = "0.8.0+2024-06-06";
src = final.fetchzip {
url = "https://github.com/gittup/tup/archive/4247a523587df54bd4a65ec42c4247a8488c050e.tar.gz";
hash = "sha256-vHzfUf7O7DoiuyxCu/zpXmQcqcyBOJoF5UM4CTtB1B8=";
};
patches = (prev.patches or [ ]) ++ [
(final.fetchpatch {
url = "https://github.com/toastal/tup/commit/2ec088e9ee39c277c6c744bcfb5bc68c1c8088b7.patch";
hash = "sha256-hk1RS+S4Dhb0rXj2gjPUUkpcie+8LD7WpKa+JOQ3chw=";
})
(final.fetchpatch {
url = "https://github.com/toastal/tup/commit/971ef896830c8e092062bd5a362ce84403642f23.patch";
hash = "sha256-tpGqd37uCRq0aKuIhg1R6wI5UFRAYQ1u4VzYs2sNSgo=";
})
];
}
);
};
};
} |
Author
|
@gittup is there a way to say these fairly trivial patches are 0BSD or BSD-2-Clause or something? I’m not against CLAs in theory, but I do not wish to sign this CLA as I do not want to share the required private personal info (real name, phone number, address). |
f3d209e to
971ef89
Compare
Author
|
I added Direnv like #475 but in a separate commit so it can be dropped if not wanted. |
gittup
reviewed
Aug 30, 2024
Darcs <https://darcs.net> is a decentralized version control system. Advanced support would be adding .boring file support like .gitignore.
Pijul <https://pijul.org> is a decentralized version control system. Ignorefile use .ignore which use the same as the Git-branded, .gitignore file… so more advanced support could be added.
12edc98 to
7d4954d
Compare
Direnv <https://direnv.net> is a tool for tracking your local developer environment. With the rise of Nix popularity & its hooks for local Nix development, this tool has become quite popular, but it caches changes in a local directory that makes Tup noisy. This commit is a duplicate of another proposed patch, however, unlike that patchset, this is standalone.
7d4954d to
08b1b67
Compare
Author
|
Caught that I forgot to add the Again, these patches are free for the taking—I just want these features, & without giving out personal information. |
Author
|
An updated Nix overlay for anyone that finds it useful final: prev:
{
tup = prev.tup.overrideAttrs (
finalAttrs: prevAttrs: {
version = "0.8.0+2024-06-06";
src = final.fetchzip {
url = "https://github.com/gittup/tup/archive/4247a523587df54bd4a65ec42c4247a8488c050e.tar.gz";
hash = "sha256-vHzfUf7O7DoiuyxCu/zpXmQcqcyBOJoF5UM4CTtB1B8=";
};
patches = (prev.patches or [ ]) ++ [
(final.fetchpatch {
url = "https://github.com/toastal/tup/commit/3efa5912dd2a81a4ce999950a6a0a0b3a5f7ceb4.patch";
hash = "sha256-PaMUQadhBeGmgIZMO7OcSVCCgoHl3jcAeyjOEvYml9w=";
})
(final.fetchpatch {
url = "https://github.com/toastal/tup/commit/ca3e97764b83537d192833ca78ce9dcae5d8d15a.patch";
hash = "sha256-tpGqd37uCRq0aKuIhg1R6wI5UFRAYQ1u4VzYs2sNSgo=";
})
(final.fetchpatch {
url = "https://github.com/toastal/tup/commit/08b1b67b849b74ba3a242c3ca15595c78fd0a919.patch";
hash = "sha256-SMHEn/GDgau5YFx3u4eBSf4bU2Y4OfXytnFt0XJlbVs=";
})
];
}
);
} |
Author
|
@gittup it’s been a year… can we look at this again? |
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.
Darcs https://darcs.net & Pijul https://pijul.org/ are decentralized version control systems.
Advanced Darcs support would be adding .boring file support like .gitignore, but it uses a different syntax. Pijul ignorefiles use
.ignorewhich use the same syntax as the Git-branded, .gitignore file… so more advanced support could be added.All commits should be easy to pull in separately, independently if needed.