Skip to content
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

feat(forge): add ruby gems backend #1657

Draft
wants to merge 1,846 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1846 commits
Select commit Hold shift + click to select a range
f386503
env-vars: improvements (#1435)
jdx Jan 11, 2024
a2e8af1
chore: Release mise version 2024.1.16
jdx Jan 11, 2024
8f1c422
Fix missing ASDF_PLUGIN_PATH environment variable (#1437)
deriamis Jan 11, 2024
750141e
settings: remove warning about moving to settings.toml
jdx Jan 11, 2024
eb08d82
refactor env_var arg (#1443)
jdx Jan 12, 2024
abebe93
renovate config
jdx Jan 12, 2024
cdfda7d
settings: read from config.toml (#1439)
jdx Jan 12, 2024
5b66532
refactor ToolArg
jdx Jan 12, 2024
07e1921
activate: use less aggressive PATH modifications by default
jdx Jan 12, 2024
89c9271
move release from justfile
jdx Jan 12, 2024
d4be898
bump local version of shfmt
jdx Jan 12, 2024
20c393e
chore: Release mise version 2024.1.17
jdx Jan 12, 2024
dbf7d01
Revert "miette (#1368)"
jdx Jan 12, 2024
1dcac6d
release: fix mise-docs publishing
jdx Jan 12, 2024
d4f54ad
release: temporarily disable standalone test
jdx Jan 12, 2024
76b2635
chore: Release mise version 2024.1.18
jdx Jan 12, 2024
dedb762
refactor: remove PluginName type alias
jdx Jan 12, 2024
ec4efea
refactor: rename Plugin trait to Forge
jdx Jan 12, 2024
36fdc55
Update nushell.rs - Add explicit spread (#1441)
bnheise Jan 12, 2024
cf93693
config: allow using "env._.file|env._.path" instead of "env.mise.file…
jdx Jan 12, 2024
5091fc6
refactor: clean up arg imports
jdx Jan 13, 2024
db82e62
added "forge" infra (#1450)
jdx Jan 13, 2024
5e36828
refactor: clean up arg imports (#1451)
jdx Jan 13, 2024
8d678e0
added support for installing directly from npm (#1452)
jdx Jan 13, 2024
d1e6e4b
document npm/cargo
jdx Jan 13, 2024
2ee66cb
npm: testing
jdx Jan 13, 2024
c24976f
fix loading npm from mise (#1453)
jdx Jan 13, 2024
90f4ed8
skip slow cargo test if TEST_ALL is not set (#1455)
jdx Jan 13, 2024
f061666
chore: Release mise version 2024.1.19
jdx Jan 13, 2024
b6dfb31
tasks: enable stdin under interleaved
jdx Jan 13, 2024
7e4e79b
ci: re-enable standalone test
jdx Jan 13, 2024
ef2cc0c
feat: add command to print task dependency tree (#1440)
roele Jan 13, 2024
e0ba235
feat: add completions for task deps command (#1456)
roele Jan 13, 2024
6a93748
feat: add interactive selection for tasks if task was not found (#1459)
roele Jan 14, 2024
3224f7a
chore: Release mise version 2024.1.20
jdx Jan 14, 2024
d52d2ca
fix: bail out of task suggestion if there are no tasks (#1460)
roele Jan 14, 2024
74c5210
Update README.md
jdx Jan 15, 2024
22265e5
fixed urls
jdx Jan 15, 2024
8c24e48
fixed urls
jdx Jan 15, 2024
94bfc46
fixed deprecated plugins migrate
jdx Jan 15, 2024
b7e61d6
chore: Release mise version 2024.1.21
jdx Jan 15, 2024
9c4b7fb
fix: no panic on missing current dir (#1462)
tamasfe Jan 15, 2024
c8e02e4
fix not_found handler when command start with "--" (#1464)
jdx Jan 15, 2024
fd9da12
fix: always load global configs (#1466)
tamasfe Jan 16, 2024
152e6b7
remove dirs_next in favor of simpler home crate (#1471)
jdx Jan 16, 2024
ec609a2
rename internal MISE_BIN env var to __MISE_BIN (#1472)
jdx Jan 16, 2024
1a8481c
allow using templates in task files (#1473)
jdx Jan 17, 2024
62679b3
tasks: support array of commands directly (#1474)
jdx Jan 17, 2024
8863a21
updated dependencies (#1475)
jdx Jan 17, 2024
05f76ec
add support for installing directly with go modules (#1470)
endigma Jan 17, 2024
b46fa17
ensure forge type matches (#1476)
jdx Jan 17, 2024
9b81b2a
chore: Release mise version 2024.1.22
jdx Jan 17, 2024
205e43a
fix config_root path (#1477)
jdx Jan 17, 2024
d26640f
use mise to get development dependencies (#1478)
jdx Jan 18, 2024
383600c
plugins: improve post-plugin-update script (#1479)
jdx Jan 18, 2024
8667bc5
tasks: only show select if no task specified (#1481)
jdx Jan 18, 2024
ebc5fe7
tasks: show cursor on ctrl-c
jdx Jan 18, 2024
f0965ad
tasks: fix project_root when using .config/mise.toml or .mise/config.…
jdx Jan 18, 2024
1069155
chore: Release mise version 2024.1.23
jdx Jan 18, 2024
5231179
bump demand
jdx Jan 18, 2024
8d39995
runtime_symlinks: do not fail if version parsing fails
jdx Jan 18, 2024
73b9b72
activate: added --shims (#1483)
jdx Jan 18, 2024
334ee48
fish_completion: use `sort -r` instead of `tac` (#1486)
jdx Jan 19, 2024
f3291d1
Update README.md
jdx Jan 19, 2024
729de0c
aur: fix conflicts
jdx Jan 19, 2024
1c0bc12
fix cwd error
jdx Jan 20, 2024
1bbba92
chore(deps): update actions/cache action to v4 (#1488)
renovate[bot] Jan 20, 2024
0875293
fix(deps): update rust crate which to v6 (#1489)
renovate[bot] Jan 20, 2024
df3dd08
fix(deps): update rust crate which to v6 (#1490)
jdx Jan 20, 2024
de37513
chore: Release mise version 2024.1.24
jdx Jan 20, 2024
bcadbf8
fix(deps): update rust crate regex to 1.10.3 (#1496)
renovate[bot] Jan 21, 2024
4034674
updated clap_complete
jdx Jan 22, 2024
12d87c2
feat(config): support arrays of env tables (#1503)
Ajpantuso Jan 23, 2024
651ec02
cargo: allow cargo-binstall from mise itself (#1507)
jdx Jan 23, 2024
9341810
feat(template): add join_path filter (#1508)
Ajpantuso Jan 23, 2024
a756db4
Delete lefthook.yml
jdx Jan 24, 2024
6845239
feat: add other arm targets for cargo-binstall (#1510)
Jan 24, 2024
9ac1435
fix(tasks): prevent implicit globbing of sources/outputs (#1509)
Ajpantuso Jan 24, 2024
51f269a
turn back on `cargo update` on release
jdx Jan 24, 2024
59498ea
fix release script
jdx Jan 24, 2024
c6b1a22
chore: Release mise version 2024.1.25
jdx Jan 24, 2024
578ff24
bun|python: use target_feature to use correct precompiled runtimes (#…
jdx Jan 24, 2024
032e325
config: do not follow symbolic links for trusted paths (#1513)
jdx Jan 24, 2024
a5573cc
refactor: env parsing (#1515)
jdx Jan 24, 2024
7ce6d3f
config: refactor min_version logic (#1516)
jdx Jan 24, 2024
278878e
env: sort env vars coming back from exec-env (#1518)
jdx Jan 24, 2024
1018b56
env: order flags in docs
jdx Jan 24, 2024
2d63b59
feat(tasks): infer bash task topics from folder structure (#1520)
Ajpantuso Jan 25, 2024
c97bb79
demand 1.0.0
jdx Jan 25, 2024
0737239
feat(doctor): identify missing/extra shims (#1524)
Ajpantuso Jan 25, 2024
bdb9014
chore: Release mise version 2024.1.26
jdx Jan 25, 2024
59c7216
pass signals to tasks (#1527)
jdx Jan 25, 2024
a4b6418
doctor: display missing/extra shims (#1529)
jdx Jan 26, 2024
7b3ae2e
feat(run): match tasks to run with glob patterns (#1528)
Ajpantuso Jan 26, 2024
6be2c83
feat(tasks): unify glob strategy for tasks and dependencies (#1533)
Ajpantuso Jan 26, 2024
81aacb0
fix global config with asdf_compat (#1534)
jdx Jan 26, 2024
91b9fc1
added settings_message settings (#1535)
jdx Jan 26, 2024
7dce359
env: resolve env vars in order (#1519)
jdx Jan 26, 2024
ab7f771
parse alias + plugins with serde (#1537)
jdx Jan 26, 2024
76f38ca
chore: Release mise version 2024.1.27
jdx Jan 26, 2024
00b756a
added `env._.source` feature (#1538)
jdx Jan 27, 2024
633c3ff
force update alpine
jdx Jan 27, 2024
3ac2cf7
fix(deps): update rust crate chrono to 0.4.33 (#1539)
renovate[bot] Jan 27, 2024
292b987
fix(deps): update rust crate clap_complete to 4.4.9 (#1540)
renovate[bot] Jan 27, 2024
470dfe9
chore: Release mise version 2024.1.28
jdx Jan 27, 2024
14fb790
use nodejs/golang for writing to .tool-versions
jdx Jan 27, 2024
6b8e211
read system and local config settings (#1541)
jdx Jan 27, 2024
89e78e9
chore: Release mise version 2024.1.29
jdx Jan 27, 2024
fb80f08
chore: Release mise version 2024.1.29
jdx Jan 27, 2024
da2b1c9
fix mangen
jdx Jan 27, 2024
0fac002
default to precompiled python
jdx Jan 27, 2024
3a195bc
chore: Release mise version 2024.1.30
jdx Jan 27, 2024
b3e0296
fix(deps): update rust crate serde_json to 1.0.112 (#1542)
renovate[bot] Jan 27, 2024
7b8a527
fix(deps): update serde monorepo to 1.0.196 (#1543)
renovate[bot] Jan 27, 2024
add7253
fix: properly handle executable shims when getting diffs (#1545)
Ajpantuso Jan 27, 2024
54fd770
fix(deps): update rust crate strum to 0.26.0 (#1546)
renovate[bot] Jan 28, 2024
7ab1166
fix(deps): update rust crate strum to 0.26.1 (#1547)
renovate[bot] Jan 28, 2024
d7cb481
updated indexmap
jdx Jan 28, 2024
986aa0c
fix(deps): update rust crate indexmap to 2.2.0 (#1548)
renovate[bot] Jan 29, 2024
8d29b59
hide system versions from env/bin_paths (#1553)
jdx Jan 29, 2024
711d6d7
codacy badge
jdx Jan 29, 2024
dc76ec4
codacy badge
jdx Jan 29, 2024
2e97b24
codacy badge
jdx Jan 29, 2024
711110c
codacy badge
jdx Jan 29, 2024
6a16dc0
feat(tasks): add task timing to run command (#1536)
Ajpantuso Jan 30, 2024
74fd185
python: only show precompiled warning if going to use precompiled
jdx Jan 30, 2024
838bbaf
fix bash not_found handler (#1558)
jdx Jan 30, 2024
d885c66
python: fix linux precompiled (#1559)
jdx Jan 30, 2024
2660406
go: clean up e2e tests
jdx Jan 30, 2024
a67c00f
chore: Release mise version 2024.1.31
jdx Jan 30, 2024
f68bf52
added "plugins up" alias"
jdx Jan 30, 2024
b122c19
python: fix settings env vars
jdx Jan 30, 2024
d3020cc
poetry: use compiled python
jdx Jan 30, 2024
e053c54
chore: Release mise version 2024.1.32
jdx Jan 30, 2024
fae51a7
shims: treat anything not rtx/mise as a shim
jdx Jan 30, 2024
1e3afe9
chore: Release mise version 2024.1.33
jdx Jan 30, 2024
3ca3f7e
build on macos-latest
jdx Jan 31, 2024
7f900c4
removed outdated conditional
jdx Jan 31, 2024
2840fc8
fix bash command not found override (#1564)
jdx Jan 31, 2024
56be60f
update CONTRIBUTING.md
jdx Jan 31, 2024
0e38477
label experimental error
jdx Jan 31, 2024
e9b036e
convert more things to mise tasks from just (#1566)
jdx Jan 31, 2024
ee10dba
use Cargo.* as source
jdx Jan 31, 2024
6af249a
chore: Release mise version 2024.1.34
jdx Jan 31, 2024
c8837fe
shims: use activate_agressive setting
jdx Jan 31, 2024
3070bf8
chore: Release mise version 2024.1.35
jdx Jan 31, 2024
2cd8ad5
docker (#1570)
jdx Jan 31, 2024
fda1be6
tag version in docker
jdx Jan 31, 2024
9adc718
docker: fix github action
jdx Jan 31, 2024
3849cdb
docker: fix github action
jdx Jan 31, 2024
ff3a555
docker: skip cargo-msrv
jdx Jan 31, 2024
08429bb
fix(tasks): prevent dependency cycles (#1575)
Ajpantuso Jan 31, 2024
90c35ab
feat(tasks): make script task dirs configurable (#1571)
Ajpantuso Jan 31, 2024
7568969
refactor task_config
jdx Jan 31, 2024
779c484
docker: fix test runner
jdx Jan 31, 2024
438e6a4
tasks: refactor to use BTreeMap instead of sorting
jdx Jan 31, 2024
b92566f
docker: fix dev test
jdx Jan 31, 2024
de5e5b6
ci: skip checkout for homebrew bump
jdx Jan 31, 2024
6c6afe1
status: make missing tool warning more granular (#1577)
jdx Feb 1, 2024
50c1468
default --quiet to error level
jdx Feb 1, 2024
81f61d5
chore: Release mise version 2024.2.0
jdx Feb 1, 2024
98a6d1f
ci: use m1 macs
jdx Feb 1, 2024
3cc2cb9
add env.mise.source to schame (#1578)
sirenkovladd Feb 1, 2024
dc0e793
settings: improve set/ls commands (#1579)
jdx Feb 1, 2024
67e9e30
doctor: add "dr" alias
jdx Feb 1, 2024
3412fa1
Update README.md
jdx Feb 1, 2024
9ab7159
added mise.run
jdx Feb 1, 2024
0cb3988
use a bodged loop to handle go forge submodules (#1583)
endigma Feb 1, 2024
95a50c3
fixed ctrlc handler (#1584)
jdx Feb 1, 2024
bbaf112
Additional arch install (#1562)
tlockney Feb 1, 2024
9e3e669
chore: Release mise version 2024.2.1
jdx Feb 1, 2024
fbe2578
python: minor UI tweak
jdx Feb 1, 2024
d3748ef
plugins: ui tweak
jdx Feb 1, 2024
1d00fbd
release: clear cache on mise.run
jdx Feb 1, 2024
554e688
download progress bars (#1586)
jdx Feb 2, 2024
0633c07
improve output of shorthand update script
jdx Feb 2, 2024
1f11a1d
chore: Release mise version 2024.2.2
jdx Feb 2, 2024
9e786e8
show curl progress during install.sh
jdx Feb 2, 2024
57a6fa6
install tools in order listed in config file when --jobs=1 (#1587)
jdx Feb 2, 2024
8f067cb
actionlint
jdx Feb 2, 2024
13d7d29
remove unused property
jdx Feb 2, 2024
fee5b72
property should not be public
jdx Feb 2, 2024
13daec0
remove more unused config file props
jdx Feb 2, 2024
be34b76
allow _.path to have : delimiters
jdx Feb 2, 2024
2baa9d9
use serde to parse tasks (#1592)
jdx Feb 2, 2024
0eae892
tasks: skip running glob if no patterns
jdx Feb 2, 2024
ae658f8
lazy-load toml_edit (#1594)
jdx Feb 2, 2024
85da451
chore: Release mise version 2024.2.3
jdx Feb 2, 2024
a43f40b
fix(tasks): fix parsing of alias attribute (#1596)
Ajpantuso Feb 3, 2024
e2e9af7
fix(deps): update rust crate clap_mangen to 0.2.19 (#1598)
renovate[bot] Feb 3, 2024
5159491
fix(deps): update rust crate clap_complete to 4.4.10 (#1597)
renovate[bot] Feb 3, 2024
b64b0a8
fix(deps): update rust crate eyre to 0.6.12 (#1601)
renovate[bot] Feb 3, 2024
96afcd3
fix(deps): update rust crate indexmap to 2.2.2 (#1602)
renovate[bot] Feb 3, 2024
a508ec2
chore: Release mise version 2024.2.4
jdx Feb 3, 2024
1a7b3f0
use serde to parse tools (#1599)
jdx Feb 3, 2024
2292c11
fix(deps): update rust crate itertools to 0.12.1 (#1604)
renovate[bot] Feb 3, 2024
d959790
tasks: support "false" env vars (#1603)
jdx Feb 3, 2024
8996bd8
chore(deps): update nick-fields/retry action to v3 (#1610)
renovate[bot] Feb 3, 2024
0e2ead1
fix(deps): update rust crate toml_edit to 0.21.1 (#1609)
renovate[bot] Feb 3, 2024
831af03
fix(deps): update rust crate toml to 0.8.9 (#1608)
renovate[bot] Feb 3, 2024
ded7e82
chore(deps): update peter-evans/create-pull-request action to v6 (#1611)
renovate[bot] Feb 3, 2024
9a75c7d
fix(deps): update rust crate serde_json to 1.0.113 (#1607)
renovate[bot] Feb 3, 2024
7f01f34
fix(deps): update rust crate reqwest to 0.11.24 (#1605)
renovate[bot] Feb 3, 2024
6e8a97f
doctor: add some info (#1614)
jdx Feb 5, 2024
d15ea44
env-file: add dotenv paths to watch files (#1615)
jdx Feb 5, 2024
cb9ab2d
fix lint issues in rust 1.77.0-beta.1
jdx Feb 5, 2024
6a004a7
docs: cli help
jdx Feb 6, 2024
59362f2
chore: Release mise version 2024.2.5
jdx Feb 6, 2024
0dd07e7
calm io (#1621)
jdx Feb 7, 2024
92a3e87
use OnceLock where possible
jdx Feb 7, 2024
fb9fdf9
automatically try https if http fails (#1622)
jdx Feb 7, 2024
ec03744
added optional pre-commit hook
jdx Feb 7, 2024
521c31e
fish: reuse existing command_not_found handler (#1624)
jdx Feb 7, 2024
adfcc0d
chore: Release mise version 2024.2.6
jdx Feb 7, 2024
fce42d7
fix task loading (#1625)
jdx Feb 7, 2024
f288b40
tasks: support global file tasks (#1627)
jdx Feb 7, 2024
d8efa0e
ls: add installed/active flags (#1629)
jdx Feb 7, 2024
a30842b
fish: fix command not found handler
jdx Feb 8, 2024
e2845f3
chore: Release mise version 2024.2.7
jdx Feb 8, 2024
e291cc3
docs
jdx Feb 8, 2024
a334924
tasks: ignore non-executable tasks (#1642)
jdx Feb 9, 2024
68ff913
fix support for tera templates in tool version strings (#1643)
jdx Feb 9, 2024
638a426
save space
jdx Feb 9, 2024
786220c
go: GOROOT/GOBIN/GOPATH changes (#1641)
jdx Feb 9, 2024
0c59c59
save space
jdx Feb 9, 2024
fa7a977
chore: Release mise version 2024.2.8
jdx Feb 9, 2024
8a9a284
bump msrv for clap compatibility
jdx Feb 9, 2024
77137e1
chore: Release mise version 2024.2.9
jdx Feb 9, 2024
6ac66a8
fix(deps): update rust crate clap to 4.5.0 (#1644)
renovate[bot] Feb 10, 2024
544b986
fix(deps): update rust crate clap_complete to 4.5.0 (#1645)
renovate[bot] Feb 10, 2024
15f9810
fix(deps): update rust crate clap_mangen to 0.2.20 (#1646)
renovate[bot] Feb 10, 2024
a14a320
fix(deps): update rust crate tempfile to 3.10.0 (#1647)
renovate[bot] Feb 10, 2024
6caaf77
fix(deps): update rust crate either to 1.10.0 (#1649)
renovate[bot] Feb 10, 2024
3f615ca
fix(deps): update rust crate toml to 0.8.10 (#1648)
renovate[bot] Feb 10, 2024
2023664
fix(deps): update rust crate toml_edit to 0.22.4 (#1650)
renovate[bot] Feb 10, 2024
409f218
usage (#1652)
jdx Feb 10, 2024
4292537
cargo up
jdx Feb 10, 2024
13ea6c9
chore: Release mise version 2024.2.10
jdx Feb 10, 2024
775db38
fix(deps): update rust crate indicatif to 0.17.8 (#1651)
renovate[bot] Feb 10, 2024
8399b1f
default fish+bash to use usage for completions
jdx Feb 10, 2024
0bc48ed
add usage to CI
jdx Feb 10, 2024
4eba7c0
add usage to CI
jdx Feb 10, 2024
b41f4e4
chore: Release mise version 2024.2.11
jdx Feb 10, 2024
f3a0117
install usage via cargo-binstall
jdx Feb 10, 2024
af9b541
fix(deps): update rust crate usage-lib to 0.1.8 (#1653)
renovate[bot] Feb 11, 2024
111a218
chore: Release mise version 2024.2.12
jdx Feb 11, 2024
e46fe04
fix completion generators if usage is not installed
jdx Feb 11, 2024
196b8cd
chore: Release mise version 2024.2.13
jdx Feb 11, 2024
ba96f1f
fix(deps): update rust crate chrono to 0.4.34 (#1654)
renovate[bot] Feb 11, 2024
094a8ff
feat(forge): add ruby gems backend
andrewthauer Feb 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[env]
RUST_TEST_THREADS = '1'
2 changes: 2 additions & 0 deletions .config/insta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
test:
auto_review: true
5 changes: 5 additions & 0 deletions .config/nextest.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[profile.default]
test-threads = 1
slow-timeout = { period = "250ms", terminate-after = 4 }
status-level = "all"
retries = { backoff = "exponential", count = 4, delay = "1s", max-delay = "10s" }
16 changes: 16 additions & 0 deletions .cspell.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"ignorePaths": [
"**/node_modules/**",
"**/vscode-extension/**",
"**/.git/**",
"**/.pnpm-lock.json",
".vscode",
"megalinter",
"package-lock.json",
"report"
],
"language": "en",
"noConfigSearch": true,
"words": ["megalinter", "oxsecurity"],
"version": "0.2"
}
36 changes: 36 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/rust
{
"name": "Rust",

"image": "ghcr.io/jdx/mise:dev",

// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
// "build": {
// "dockerfile": "Dockerfile",
// },

// Use 'mounts' to make the cargo cache persistent in a Docker Volume.
// "mounts": [
// {
// "source": "devcontainer-cargo-cache-${devcontainerId}",
// "target": "/usr/local/cargo",
// "type": "volume"
// }
// ]

// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "rustc --version",

// Configure tool-specific properties.
// "customizations": {},

// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
"remoteUser": "root",
}
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
target/
11 changes: 11 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[*.toml]
indent_style = space
indent_size = 2

[*.sh]
indent_style = space
indent_size = 2

# shfmt
switch_case_indent = true
simplify = true
3 changes: 3 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env bash

export FOO_FROM_FILE="foo_from_file"
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
zipsign.pub binary
7 changes: 7 additions & 0 deletions .github/ISSUE_TEMPLATE/blank.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
name: Blank
about: Blank issue template
title: ""
labels: ""
assignees: ""
---
25 changes: 25 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
name: Bug report
about: Something not working right?
title: ""
labels: bug
assignees: ""
---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior.

**Expected behavior**
A clear and concise description of what you expected to happen.

**`mise doctor` output**

```text
REPLACE WITH OUTPUT OF `mise doctor`
```

**Additional context**
Add any other context about the problem here.
7 changes: 7 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
name: Feature request
about: Suggest an idea for this project
title: ""
labels: enhancement
assignees: ""
---
19 changes: 19 additions & 0 deletions .github/actionlint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
self-hosted-runner:
# Labels of self-hosted runner in array of strings.
labels:
- macos-14
- buildjet-32vcpu-ubuntu-2204-arm
- buildjet-16vcpu-ubuntu-2204-arm
- buildjet-8vcpu-ubuntu-2204-arm
- buildjet-4vcpu-ubuntu-2204-arm
- buildjet-2vcpu-ubuntu-2204-arm
- buildjet-32vcpu-ubuntu-2204
- buildjet-16vcpu-ubuntu-2204
- buildjet-8vcpu-ubuntu-2204
- buildjet-4vcpu-ubuntu-2204
- buildjet-2vcpu-ubuntu-2204

# Configuration variables in array of strings defined in your repository or
# organization. `null` means disabling configuration variables check.
# Empty array means no configuration variable is allowed.
config-variables: null
11 changes: 11 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["github>jdx/renovate-config"],
"automerge": false,
"asdf": {
"enabled": false
},
"nodenv": {
"enabled": false
}
}
5 changes: 5 additions & 0 deletions .github/restyled.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
enabled: true
restylers:
- "!shellharden"
- "!prettier-markdown"
- "*"
119 changes: 119 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
name: docker

on:
push:
tags: ["v*"]
branches: ["docker-release"]
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}

jobs:
docker:
name: docker-${{ matrix.flavor }}
strategy:
fail-fast: false
matrix:
flavor:
- alpine
- deb
- mise
- rpm
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Log in to the Container registry
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: ghcr.io/jdx/mise:${{ matrix.flavor }}
labels: ${{ steps.meta.outputs.labels }}
file: packaging/${{ matrix.flavor }}/Dockerfile
dev:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
- name: Log in to the Container registry
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: ghcr.io/jdx/mise:dev
labels: ${{ steps.meta.outputs.labels }}
file: packaging/dev/Dockerfile
platforms: linux/amd64,linux/arm64
dev-test:
runs-on: ubuntu-latest
container:
image: ghcr.io/jdx/mise:dev
needs: [dev]
steps:
- uses: actions/checkout@v4
- run: cargo install --path . --debug
- run: mise trust --all
- run: mise install -y
- run: mise run test
dockerhub:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5
with:
images: jdxcode/mise
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
file: ./Dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: jdxcode/mise:latest,jdxcode/mise:${{ github.ref_name }}
labels: ${{ steps.meta.outputs.labels }}
Loading
Loading