mirror of
https://github.com/nix-community/nurl.git
synced 2024-08-17 05:50:22 +03:00
bump version
This commit is contained in:
parent
d1ef8bba2d
commit
1a542b2504
18
CHANGELOG.md
18
CHANGELOG.md
@ -1,6 +1,22 @@
|
||||
# Changelog
|
||||
|
||||
## v0.2.2 - 2023-01-0-1
|
||||
## v0.3.0 - 2023-01-02
|
||||
|
||||
### Changes
|
||||
|
||||
- with `--json`, values specified `--arg` are wrapped like this: `{"type": "nix", "value": "<Nix expression>"}` to differentiate from strings
|
||||
|
||||
### Fixes
|
||||
|
||||
- Correctly handle git:// URLs
|
||||
|
||||
### Features
|
||||
|
||||
- `--arg-str` to additional arguments to pass to the fetcher as strings
|
||||
- `--overwrite` to overwrite arguments in the final output
|
||||
- `--overwrite-str` to overwrite arguments in the final output as strings
|
||||
|
||||
## v0.2.2 - 2023-01-01
|
||||
|
||||
### Fixes
|
||||
|
||||
|
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -229,7 +229,7 @@ checksum = "f051f77a7c8e6957c0696eac88f26b0117e54f52d3fc682ab19397a8812846a4"
|
||||
|
||||
[[package]]
|
||||
name = "nurl"
|
||||
version = "0.2.2"
|
||||
version = "0.3.0"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"clap",
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "nurl"
|
||||
version = "0.2.2"
|
||||
version = "0.3.0"
|
||||
authors = ["figsoda <figsoda@pm.me>"]
|
||||
edition = "2021"
|
||||
description = "Generate Nix fetcher calls from repository URLs"
|
||||
|
25
README.md
25
README.md
@ -40,14 +40,23 @@ Arguments:
|
||||
[REV] the revision or reference to be fetched
|
||||
|
||||
Options:
|
||||
-f, --fetcher <FETCHER> specify the fetcher function instead of inferring from the URL [possible values: fetchFromBitbucket, fetchFromGitHub, fetchFromGitLab, fetchFromGitea, fetchFromGitiles, fetchFromRepoOrCz, fetchFromSourcehut, fetchgit, fetchhg]
|
||||
-i, --indent <INDENT> extra indentation (in number of spaces) [default: 0]
|
||||
-j, --json output in json format
|
||||
-a, --arg <KEY> <VALUE> additional arguments to pass to the fetcher
|
||||
-l, --list-fetchers List all available fetchers
|
||||
-L, --list-possible-fetchers List all fetchers that can be generated without --fetcher
|
||||
-h, --help Print help information
|
||||
-V, --version Print version information
|
||||
-f, --fetcher <FETCHER> specify the fetcher function instead of inferring from the
|
||||
URL [possible values: fetchFromBitbucket, fetchFromGitHub,
|
||||
fetchFromGitLab, fetchFromGitea, fetchFromGitiles,
|
||||
fetchFromRepoOrCz, fetchFromSourcehut, fetchgit, fetchhg]
|
||||
-i, --indent <INDENT> extra indentation (in number of spaces) [default: 0]
|
||||
-j, --json output in json format
|
||||
-a, --arg <NAME> <EXPR> additional arguments to pass to the fetcher
|
||||
-A, --arg-str <NAME> <STRING> same as --overwrite, but accepts strings instead Nix
|
||||
expressions
|
||||
-o, --overwrite <NAME> <EXPR> overwrite arguments in the final output, not taken into
|
||||
consideration when fetching the hash
|
||||
-O, --overwrite-str <NAME> <STRING> same as --overwrite, but accepts strings instead Nix
|
||||
expressions
|
||||
-l, --list-fetchers List all available fetchers
|
||||
-L, --list-possible-fetchers List all fetchers that can be generated without --fetcher
|
||||
-h, --help Print help information
|
||||
-V, --version Print version information
|
||||
```
|
||||
|
||||
## Comparison to [nix-prefetch](https://github.com/msteen/nix-prefetch)
|
||||
|
Loading…
Reference in New Issue
Block a user