Nikola Knezevic 77007d4eab Improve ref validity checking in fetchGit
The previous regex was too strict and did not match what git was allowing. It
could lead to `fetchGit` not accepting valid branch names, even though they
exist in a repository (for example, branch names containing `/`, which are
pretty standard, like `release/1.0` branches).

The new regex defines what a branch name should **NOT** contain. It takes the
definitions from `refs.c` in https://github.com/git/git and `git help
check-ref-format` pages.

This change also introduces a test for ref name validity checking, which
compares the result from Nix with the result of `git check-ref-format --branch`.
2020-05-30 12:29:35 +02:00
2020-05-15 10:06:26 +02:00
2018-08-13 20:00:17 +00:00
2020-04-10 17:27:35 +02:00
2020-05-08 12:03:27 +02:00
2020-05-08 11:49:40 +02:00
2017-06-05 22:57:28 +01:00
2020-04-06 12:05:17 -06:00
2019-09-04 15:59:33 +02:00
2020-05-08 12:09:37 +02:00
2020-03-30 15:30:19 +02:00
2020-05-08 12:09:37 +02:00
2020-05-01 11:47:26 +02:00
2020-05-23 12:43:54 +02:00
2020-03-13 18:05:22 +01:00

Nix

Open Collective supporters Test

Nix is a powerful package manager for Linux and other Unix systems that makes package management reliable and reproducible. Please refer to the Nix manual for more details.

Installation

On Linux and macOS the easiest way to Install Nix is to run the following shell command (as a user other than root):

$ curl -L https://nixos.org/nix/install | sh

Information on additional installation methods is available on the Nix download page.

Building And Developing

Building Nix

You can build Nix using one of the targets provided by release.nix:

$ nix-build ./release.nix -A build.aarch64-linux
$ nix-build ./release.nix -A build.x86_64-darwin
$ nix-build ./release.nix -A build.i686-linux
$ nix-build ./release.nix -A build.x86_64-linux

Development Environment

You can use the provided shell.nix to get a working development environment:

$ nix-shell
$ ./bootstrap.sh
$ ./configure
$ make

Additional Resources

License

Nix is released under the LGPL v2.1.

Description
Languages
C++ 78.1%
Shell 9.7%
Nix 7.5%
Meson 1.8%
C 1.3%
Other 1.6%