summary refs log tree commit diff
path: root/doc/builders/fetchers.chapter.md
Commit message (Collapse)AuthorAge
* doc: use sri hash syntaxColin Arnott2022-12-04
| | | | | | | | | | | | | | | | | | The nixpkgs manual contains references to both sri hash and explicit sha256 attributes. This is at best confusing to new users. Since the final destination is exclusive use of sri hashes, see nixos/rfcs#131, might as well push new users in that direction gently. Notable exceptions to sri hash support are builtins.fetchTarball, cataclysm-dda, coq, dockerTools.pullimage, elixir.override, and fetchCrate. None, other than builtins.fetchTarball, are fundamentally incompatible, but all currently accept explicit sha256 attributes as input. Because adding backwards compatibility is out of scope for this change, they have been left intact, but migration to sri format has been made for any using old hash formats. All hashes have been manually tested to be accurate, and updates were only made for missing upstream artefacts or bugs.
* fetchgit: make sparseCheckout a list of stringsNicolas Benes2022-11-15
| | | | | | | | | | | | | The `sparseCheckout` argument allows the user to specify directories or patterns of files, which Git uses to filter files it should check-out. Git expects a multi-line string on stdin ("newline-delimited list", see `git-sparse-checkout(1)`), but within nixpkgs it is more consistent to use a list of strings instead. The list elements are joined to a multi-line string only before passing it to the builder script. A deprecation warning is emitted if a (multi-line) string is passed to `sparseCheckout`, but for the time being it is still accepted.
* fetchgit: allow disabling cone mode for sparse checkouts, fix testWinter2022-08-14
|
* Add example error message.Cody Hiar2022-08-02
|
* Updating sha256 to more realistic exampleCody Hiar2022-08-02
|
* Update doc/builders/fetchers.chapter.mdCody Hiar2022-08-02
| | | Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
* Update doc/builders/fetchers.chapter.mdCody Hiar2022-08-02
| | | Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
* Update doc/builders/fetchers.chapter.mdCody Hiar2022-08-02
| | | Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
* Update doc/builders/fetchers.chapter.mdCody Hiar2022-08-02
| | | Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
* Update doc/builders/fetchers.chapter.mdCody Hiar2022-08-02
| | | Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
* Update doc/builders/fetchers.chapter.mdCody Hiar2022-07-18
| | | Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
* Updated wording from code reviewCody Hiar2022-07-04
|
* Remove possessive apostrophesCody Hiar2022-06-29
|
* doc/builders/fetchers: Add examples, reduce sentence complexityCody Hiar2022-06-28
|
* nixos/doc: move fetchpatch documentation to fetcher documentationFlorian Klink2022-06-03
| | | | | | … and link from the coding-conventions chapter to it. Closes #48569.
* Merge pull request #163598 from SuperSamus/doc-builder-typosSandro2022-05-03
|\ | | | | doc/builders: fix typos
| * doc/builders: fix typosMartino Fontana2022-03-10
| |
* | doc: move testers to their own chapterArtturin2022-04-22
| |
* | added fetchFromGitea to docsjahway6032022-03-21
|/
* fetchgit: Add document for sparseCheckoutZhong Jianxin2022-01-24
|
* fetchFromSourcehut: allow recursive fetchingNguyễn Gia Phong2022-01-03
|
* doc: fix misspelling (#139623)thomassdk2021-09-27
| | | doc/builders/fetchers.chapter.md: fetcheres -> fetchers
* invalidateFetcherByDrvHash move docs to manualRobert Hensing2021-09-19
|
* doc/builders/fetchers: Explain invalidateFetcherByDrvHashRobert Hensing2021-09-19
|
* doc/builders/fetchers: Document FOD caveatsRobert Hensing2021-09-19
|
* doc: prepare for commonmarkJan Tojnar2021-06-07
| | | | | | | | | | | | | | We are still using Pandoc’s Markdown parser, which differs from CommonMark spec slightly. Notably: - Line breaks in lists behave differently. - Admonitions do not support the simpler syntax https://github.com/jgm/commonmark-hs/issues/75 - The auto_identifiers uses a different algorithm – I made the previous ones explicit. - Languages (classes) of code blocks cannot contain whitespace so we have to use “pycon” alias instead of Python “console” as GitHub’s linguist While at it, I also fixed the following issues: - ShellSesssion was used - Removed some pointless docbook tags.
* Remove repeating words from docFlorian Engel2021-03-14
|
* Merge pull request #102225 from luc65r/fetchsrhtMichael Weiss2021-03-11
|\ | | | | Add fetcher: fetchFromSourcehut
| * fetchFromSourcehut: initluc65r2021-03-08
| |
* | doc/fetchers: document leaveDotGit, deepClone and fetchSubmodulessternenseemann2020-12-21
|/
* Convert fetchers from DocBook to CommonMarkAndersonTorres2020-12-17