-
-
Notifications
You must be signed in to change notification settings - Fork 147
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
Basic Darcs + Pijul support (ignoring VCS dirs); Direnv (separated) #503
base: master
Are you sure you want to change the base?
Conversation
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=";
})
];
}
);
};
};
} |
@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 for the purpose of developers getting some additional income, 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
I added Direnv like #475 but in a separate commit so it can be dropped if not wanted. |
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
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. |
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=";
})
];
}
);
} |
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
.ignore
which use the same as the Git-branded, .gitignore file… so more advanced support could be added.