-
Notifications
You must be signed in to change notification settings - Fork 291
The Nix pipelines #1573
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Sk7Str1p3
wants to merge
20
commits into
o2sh:main
Choose a base branch
from
Sk7Str1p3:feat/crane
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
The Nix pipelines #1573
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
8c71204
crane: init
Sk7Str1p3 7928e44
direnv: init
Sk7Str1p3 0211e90
workflow: attempt on automatic flake update
Sk7Str1p3 77afd70
flake: fixes
Sk7Str1p3 f2b9f7b
flake: binary caches
Sk7Str1p3 b7d3fe6
crane: additionals init
Sk7Str1p3 7d29e15
flake: fmt, comments, renames
Sk7Str1p3 5eda373
flake: fix packages
Sk7Str1p3 575e04c
onefetch-image: make clippy happy
Sk7Str1p3 6f6e2a3
onefetch-image: make clippy unhappy again((
Sk7Str1p3 8241a02
taplo: detailed configuration
Sk7Str1p3 c2ae2b3
taplo: disable CRLF
Sk7Str1p3 5586b14
flake: sources filter
Sk7Str1p3 2827fe6
flake: set default CARGO_PROFILE to "dev"
Sk7Str1p3 7607154
taplo: remove odd comment
Sk7Str1p3 5c33e8a
nix: treefmt formatter
Sk7Str1p3 15759b6
toml: fmt
Sk7Str1p3 ac320ca
flake update
Sk7Str1p3 1a6f4d9
workflow: implement flake.lock automatic update
Sk7Str1p3 e32a721
Merge branch 'main' into feat/crane
Sk7Str1p3 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Doesn't work in the sandbox | ||
[yanked] | ||
enabled = false # Warn for yanked crates in Cargo.lock (default: true) | ||
update_index = false # Auto-update the crates.io index (default: true) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
use flake |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Weekly flake.lock update | ||
|
||
on: | ||
schedule: | ||
- cron: '0 11 * * 4' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
update-flake: | ||
permissions: | ||
contents: write | ||
id-token: write | ||
issues: write | ||
pull-requests: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: get date | ||
id: date | ||
run: echo "date=$(date '+%B %d, %Y')" >> $GITHUB_OUTPUT | ||
|
||
- uses: DeterminateSystems/determinate-nix-action@v3 | ||
- name: Update flake.lock | ||
id: flake-upd | ||
uses: DeterminateSystems/update-flake-lock@v25 | ||
with: | ||
pr-title: "Update flake.lock on ${{ steps.date.outputs.date }}" | ||
pr-labels: | | ||
dependencies | ||
nix |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ | |
/stage | ||
/parts | ||
/prime | ||
.direnv | ||
.gitignore.swp | ||
.DS_Store | ||
result | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# See also https://rust-lang.github.io/rustfmt for more settings. | ||
edition = "2021" | ||
edition = "2021" | ||
newline_style = "Unix" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,96 +1,96 @@ | ||
[workspace.package] | ||
authors = ["o2sh <[email protected]>"] | ||
edition = "2021" | ||
license = "MIT" | ||
version = "2.24.0" | ||
repository = "https://github.com/o2sh/onefetch" | ||
authors = [ "o2sh <[email protected]>" ] | ||
edition = "2021" | ||
license = "MIT" | ||
repository = "https://github.com/o2sh/onefetch" | ||
version = "2.24.0" | ||
|
||
[workspace] | ||
members = ["ascii", "image", "manifest"] | ||
members = [ "ascii", "image", "manifest" ] | ||
|
||
[workspace.dependencies] | ||
owo-colors = "4.2.1" | ||
anyhow = "1.0" | ||
clap = { version = "4.5.34", features = ["derive"] } | ||
image = { version = "0.25.6", default-features = false, features = [ | ||
"color_quant", | ||
"jpeg", | ||
"png", | ||
"webp", | ||
] } | ||
strum = { version = "0.26.3", features = ["derive"] } | ||
[workspace.dependencies] | ||
anyhow = "1.0" | ||
clap = { version = "4.5.34", features = [ "derive" ] } | ||
image = { version = "0.25.6", default-features = false, features = [ | ||
"color_quant", | ||
"jpeg", | ||
"png", | ||
"webp", | ||
] } | ||
owo-colors = "4.2.1" | ||
strum = { version = "0.26.3", features = [ "derive" ] } | ||
|
||
[package] | ||
authors.workspace = true | ||
edition.workspace = true | ||
version.workspace = true | ||
license.workspace = true | ||
repository.workspace = true | ||
categories = ["command-line-utilities"] | ||
description = "Command-line Git information tool" | ||
exclude = ["docs/vercel/*"] | ||
keywords = ["git", "cli", "terminal"] | ||
name = "onefetch" | ||
homepage = "https://onefetch.dev" | ||
rust-version = "1.82.0" | ||
authors.workspace = true | ||
categories = [ "command-line-utilities" ] | ||
description = "Command-line Git information tool" | ||
edition.workspace = true | ||
exclude = [ "docs/vercel/*" ] | ||
homepage = "https://onefetch.dev" | ||
keywords = [ "cli", "git", "terminal" ] | ||
license.workspace = true | ||
name = "onefetch" | ||
repository.workspace = true | ||
rust-version = "1.82.0" | ||
version.workspace = true | ||
|
||
[dependencies] | ||
anyhow.workspace = true | ||
askalono = "0.5.0" | ||
byte-unit = "5.1.6" | ||
clap.workspace = true | ||
clap_complete = "4.5.47" | ||
crossbeam-channel = "0.5.15" | ||
gix = { version = "0.72.1", default-features = false, features = [ | ||
"max-performance-safe", | ||
anyhow.workspace = true | ||
askalono = "0.5.0" | ||
byte-unit = "5.1.6" | ||
clap.workspace = true | ||
clap_complete = "4.5.47" | ||
crossbeam-channel = "0.5.15" | ||
gix = { version = "0.72.1", default-features = false, features = [ | ||
"blob-diff", | ||
"mailmap", | ||
"index", | ||
"mailmap", | ||
"max-performance-safe", | ||
"status", | ||
] } | ||
gix-features = { version = "0.42.1", features = ["zlib-ng"] } | ||
globset = "0.4.16" | ||
human-panic = "2.0.2" | ||
image.workspace = true | ||
num-format = "0.4.4" | ||
onefetch-ascii = { path = "ascii", version = "2.19.0" } | ||
onefetch-image = { path = "image", version = "2.19.0" } | ||
onefetch-manifest = { path = "manifest", version = "2.19.0" } | ||
owo-colors.workspace = true | ||
regex = "1.11.1" | ||
serde = "1.0" | ||
serde_json = "1.0" | ||
serde_yaml = "0.9.34" | ||
# TODO With the new value parsers, we're really close to being able to eliminate | ||
# the strum dependency | ||
strum.workspace = true | ||
time = { version = "0.3.41", features = ["formatting"] } | ||
time-humanize = { version = "0.1.3", features = ["time"] } | ||
tokei = "13.0.0-alpha.8" | ||
typetag = "0.2" | ||
] } | ||
gix-features = { version = "0.42.1", features = [ "zlib-ng" ] } | ||
globset = "0.4.16" | ||
human-panic = "2.0.2" | ||
image.workspace = true | ||
num-format = "0.4.4" | ||
onefetch-ascii = { path = "ascii", version = "2.19.0" } | ||
onefetch-image = { path = "image", version = "2.19.0" } | ||
onefetch-manifest = { path = "manifest", version = "2.19.0" } | ||
owo-colors.workspace = true | ||
regex = "1.11.1" | ||
serde = "1.0" | ||
serde_json = "1.0" | ||
serde_yaml = "0.9.34" | ||
# TODO With the new value parsers, we're really close to being able to eliminate | ||
# the strum dependency | ||
strum.workspace = true | ||
time = { version = "0.3.41", features = [ "formatting" ] } | ||
time-humanize = { version = "0.1.3", features = [ "time" ] } | ||
tokei = "13.0.0-alpha.8" | ||
typetag = "0.2" | ||
|
||
[dev-dependencies] | ||
criterion = "0.6.0" | ||
gix-testtools = "0.16.1" | ||
insta = { version = "1.43.1", features = ["json", "redactions"] } | ||
rstest = "0.25.0" | ||
criterion = "0.6.0" | ||
gix-testtools = "0.16.1" | ||
insta = { version = "1.43.1", features = [ "json", "redactions" ] } | ||
rstest = "0.25.0" | ||
|
||
[[bench]] | ||
name = "repo" | ||
harness = false | ||
harness = false | ||
name = "repo" | ||
|
||
[build-dependencies] | ||
lazy_static = "1" | ||
regex = "1" | ||
serde_json = "1" | ||
serde_yaml = "0.9" | ||
tera = { version = "1", default-features = false } | ||
lazy_static = "1" | ||
regex = "1" | ||
serde_json = "1" | ||
serde_yaml = "0.9" | ||
tera = { version = "1", default-features = false } | ||
|
||
[target.'cfg(windows)'.build-dependencies] | ||
winres = "0.1" | ||
winres = "0.1" | ||
|
||
[target.'cfg(windows)'.dependencies] | ||
enable-ansi-support = "0.2.1" | ||
enable-ansi-support = "0.2.1" | ||
|
||
[features] | ||
fail-on-deprecated = [] | ||
fail-on-deprecated = [ ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
[package] | ||
authors.workspace = true | ||
edition.workspace = true | ||
version.workspace = true | ||
license.workspace = true | ||
repository.workspace = true | ||
name = "onefetch-ascii" | ||
description = "Display colorized ascii art to the terminal" | ||
authors.workspace = true | ||
description = "Display colorized ascii art to the terminal" | ||
edition.workspace = true | ||
license.workspace = true | ||
name = "onefetch-ascii" | ||
repository.workspace = true | ||
version.workspace = true | ||
|
||
[dependencies] | ||
owo-colors.workspace = true | ||
owo-colors.workspace = true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[licenses] | ||
allow = [ "MIT" ] | ||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] Restricting licenses to only MIT may be overly restrictive and could prevent using dependencies with compatible licenses like Apache-2.0, BSD-3-Clause, or ISC. Consider allowing additional permissive licenses.
Copilot uses AI. Check for mistakes.