<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nixos/nixpkgs/pkgs/build-support/fetchgit/nix-prefetch-git, branch origin/structured-attrs</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<id>http://cgit.wugi.info/nixos/nixpkgs/atom?h=origin%2Fstructured-attrs</id>
<link rel='self' href='http://cgit.wugi.info/nixos/nixpkgs/atom?h=origin%2Fstructured-attrs'/>
<link rel='alternate' type='text/html' href='http://cgit.wugi.info/nixos/nixpkgs/'/>
<updated>2021-05-07T22:38:54Z</updated>
<entry>
<title>fetchgit: document --fetch-lfs flag</title>
<updated>2021-05-07T22:38:54Z</updated>
<author>
<name>Bjørn Forsman</name>
<email>bjorn.forsman@gmail.com</email>
</author>
<published>2021-05-06T11:20:00Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wugi.info/nixos/nixpkgs/commit/?id=2e8f6e0d9358ec78df4d0dcd8a5519eadfd72de9'/>
<id>urn:sha1:2e8f6e0d9358ec78df4d0dcd8a5519eadfd72de9</id>
<content type='text'>
Fixes: 74128561 ("fetchgit: add lfs support")
</content>
</entry>
<entry>
<title>Merge pull request #104714 from codedownio/tree-hashes</title>
<updated>2021-02-20T06:22:57Z</updated>
<author>
<name>taku0</name>
<email>taku0@users.noreply.github.com</email>
</author>
<published>2021-02-20T06:22:57Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wugi.info/nixos/nixpkgs/commit/?id=a964d7094a30316f0f25dbe6dad5fb8b1878f57c'/>
<id>urn:sha1:a964d7094a30316f0f25dbe6dad5fb8b1878f57c</id>
<content type='text'>
 fetchgit: support passing tree hashes as "rev" </content>
</entry>
<entry>
<title>nix-prefetch-git: Run git-init with --initial-branch=master</title>
<updated>2021-02-18T10:34:34Z</updated>
<author>
<name>Michael Weiss</name>
<email>dev.primeos@gmail.com</email>
</author>
<published>2021-02-16T14:07:46Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wugi.info/nixos/nixpkgs/commit/?id=2aadb9a53d839400e7a1e1abc1e5b561e6df7827'/>
<id>urn:sha1:2aadb9a53d839400e7a1e1abc1e5b561e6df7827</id>
<content type='text'>
The reason for this change is simply to avoid the following messages
that are unnecessary and can be confusing (and these messages will be
repeated for each submodule):
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint:   git config --global init.defaultBranch &lt;name&gt;
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint:   git branch -m &lt;name&gt;

With this change the behaviour remains unchanged (apart from the
suppressed "warning" in the console output of course) and therefore this
doesn't cause any hashes to change and by default nix-prefetch-git uses
the "fetchgit" branch anyway (branchName can be set to override the
default):
Switched to a new branch 'fetchgit'

For that reason the initial branch name doesn't matter anyway and since
we're not relying on / hardcoding "master" we could simply switch to
"main" (which seems most common nowadays). See [0] for more details on
why this wouldn't break anything.
However, since the initial branch name doesn't matter and to avoid any
additional risks it was "decided" to keep using "master" (s. #113313).

[0]: https://github.com/NixOS/nixpkgs/pull/113313#issuecomment-780589516
</content>
</entry>
<entry>
<title>fetchgit: support passing tree hashes as "rev"</title>
<updated>2021-02-14T06:12:08Z</updated>
<author>
<name>Tom McLaughlin</name>
<email>tom@codedown.io</email>
</author>
<published>2020-11-23T18:08:07Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wugi.info/nixos/nixpkgs/commit/?id=6779902b32a208f39ab5d073714a12a7ac72bcf1'/>
<id>urn:sha1:6779902b32a208f39ab5d073714a12a7ac72bcf1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fetchgit: add lfs support</title>
<updated>2021-01-11T17:41:06Z</updated>
<author>
<name>Jonathan Ringer</name>
<email>jonringer117@gmail.com</email>
</author>
<published>2020-12-05T07:32:48Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wugi.info/nixos/nixpkgs/commit/?id=741285611f08230f44b443f0b2788dd93c4ba8d0'/>
<id>urn:sha1:741285611f08230f44b443f0b2788dd93c4ba8d0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>nix-prefetch-git: also add store path to json output</title>
<updated>2020-05-04T12:13:29Z</updated>
<author>
<name>Jörg Thalheim</name>
<email>joerg@thalheim.io</email>
</author>
<published>2020-04-18T19:13:07Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wugi.info/nixos/nixpkgs/commit/?id=2fb5dac372fedd482ef3c65b608810bb7dd45083'/>
<id>urn:sha1:2fb5dac372fedd482ef3c65b608810bb7dd45083</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Revert "fetchzip, fetchgit: cleanup handling of optional features and whitespace"</title>
<updated>2020-03-26T04:35:40Z</updated>
<author>
<name>Benjamin Hipple</name>
<email>bhipple@protonmail.com</email>
</author>
<published>2020-03-26T04:35:40Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wugi.info/nixos/nixpkgs/commit/?id=259f3b3b68f730088dde3e6f7ba327afcd9eb5d5'/>
<id>urn:sha1:259f3b3b68f730088dde3e6f7ba327afcd9eb5d5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge pull request #79581 from bhipple/feature/fetcher-whitespace-clean</title>
<updated>2020-03-26T04:15:24Z</updated>
<author>
<name>Benjamin Hipple</name>
<email>bhipple@protonmail.com</email>
</author>
<published>2020-03-26T04:15:24Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wugi.info/nixos/nixpkgs/commit/?id=368ea2eb5ec9aa3eaec78b5e1b39610cbede3a47'/>
<id>urn:sha1:368ea2eb5ec9aa3eaec78b5e1b39610cbede3a47</id>
<content type='text'>
fetchzip, fetchgit: cleanup handling of optional features and whitespace</content>
</entry>
<entry>
<title>nix-prefetch-git: Fix output mangling</title>
<updated>2020-02-14T21:15:36Z</updated>
<author>
<name>Jan Tojnar</name>
<email>jtojnar@gmail.com</email>
</author>
<published>2020-02-14T20:27:47Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wugi.info/nixos/nixpkgs/commit/?id=28faf5bc8622f4fec12321cac9bd7950856f1d91'/>
<id>urn:sha1:28faf5bc8622f4fec12321cac9bd7950856f1d91</id>
<content type='text'>
`git repack` and `git gc` sometimes print “Nothing new to pack.”
to stdout, which breaks redirecting output to JSON file.

Let’s move the stdout of all git calls where it is not used to stderr
so that we still receive the info but it does not pollute our output.
</content>
</entry>
<entry>
<title>nix-prefetch-git: report deepClone &amp; leaveDotGit</title>
<updated>2020-02-14T05:05:43Z</updated>
<author>
<name>Jan Tojnar</name>
<email>jtojnar@gmail.com</email>
</author>
<published>2020-02-14T05:05:43Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wugi.info/nixos/nixpkgs/commit/?id=f19a101a73fcd447f6cfbaf7a8b01583ae6caf12'/>
<id>urn:sha1:f19a101a73fcd447f6cfbaf7a8b01583ae6caf12</id>
<content type='text'>
Just like in https://github.com/NixOS/nixpkgs/commit/be30ba8e0eabbc2483122ddf9d5911484df3a578
we want `fetchgit (builtins.fromJSON (builtins.readFile ./src.json))` to work.
</content>
</entry>
</feed>
