Commit Graph

19 Commits

Author SHA1 Message Date
Theodore Ni
83bd590807
git-branchless: use new Darwin SDK pattern 2024-11-11 00:38:01 -08:00
Bryan Lai
8d7be6e3d0 git-branchless: disable tests for now
The previous commit is kept as a record of the currently failing tests,
for future reference.
2024-10-15 23:13:37 +08:00
Bryan Lai
56698b5683 git-branchless: 0.9.0 -> 0.10.0 & fix build 2024-10-15 10:53:57 +08:00
Bryan Lai
8d26e1dafc git-branchless: improve for cross compiling
In a previous commit d5a849cb0f,
the `postInstall` hook invokes the host binary `git-branchless`, which
would probably fail when cross compiling. In this commit, we simply
disable the hook in these cases.

Also, add myself to meta.maintainers.
2024-10-10 10:58:03 +08:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Artturin
faeae2cd5c Revert "git-branchless: fix build"
This reverts commit c7c4a6094f.

Merged too soon and contains actual failures
2024-09-09 22:35:59 +03:00
luftmensch-luftmensch
ce812432ad git-branchless: fix formatting 2024-09-09 19:37:52 +03:00
luftmensch-luftmensch
c7c4a6094f git-branchless: fix build 2024-09-09 19:37:51 +03:00
Michiel Derhaeg
08d64d1120 git-branchless: 0.8.0 -> 0.9.0 2024-07-19 15:21:02 +02:00
Niklas Hambüchen
dd3cf6eb69
Merge pull request #318783 from pbsds/fix-reproducible-patch-urls-1717622023
treewide: make fetchpatch urls reproducible
2024-06-20 03:01:00 +02:00
Peder Bergebakken Sundt
0b76b065ac git-branchless: make fetchpatch url reproducible 2024-06-12 01:00:30 +02:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
Harsh Shandilya
804480fc08
maintainers: remove msfjarvis 2024-04-27 21:57:43 +02:00
Minijackson
91753acc4f
git-branchless: fix tests with Git > 2.44.0 2024-03-24 07:54:25 +01:00
Bryan Lai
d5a849cb0f git-branchless: install man pages
This fixes the failure of `git cmd --help` where `cmd` is some
git-branchless alias.

The error is due to a quirk of git: when supplied with the long form
`--help` flag, the git binary eats the flag and instead look for man
page of `cmd`. This errors out unless the man page for `cmd` is properly
installed. In the case of `git-branchless`, this can be achieved with
the command `git-branchless install-man-pages`, as implemented in this
patch.
2024-02-16 23:39:16 +08:00
Muhammad Falak R Wani
f48708863d git-branchless: 0.7.1 -> 0.8.0
Diff: https://github.com/arxanas/git-branchless/compare/v0.7.1...0.8.0
2023-08-29 09:36:29 +05:30
R. Ryantm
2d194c7262 git-branchless: 0.7.0 -> 0.7.1 2023-03-22 09:04:33 +00:00
R. Ryantm
253cdabfb6 git-branchless: 0.6.0 -> 0.7.0 2023-03-07 18:38:24 +08:00
AndersonTorres
d994dabace treewide: remove git-and-tools directory
We do not use a "plugin system" for Git addons anymore, and therefore this
directory is no longer useful. Indeed that directory is way more confusing,
given that it includes more than mere Git addons, going from Bitbucket server
command-line tools to complete rewrites of Git in exotic programming languages.

Also, without this directory, the mental load of decision-making reduces a lot.
When anyone is interested in including a new git-related tool, just put it into
pkgs/applications/version-management, without apologies.
2022-12-19 15:05:22 -03:00