-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
154 changed files
with
5,138 additions
and
7,771 deletions.
There are no files selected for viewing
This file contains 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,20 +1,26 @@ | ||
root: | ||
./docs/ | ||
redirects: | ||
pantry: pantry.md | ||
shell-integration: shell-integration.md | ||
shellcode: shell-integration.md | ||
getting-started: run/anywhere/terminals.md | ||
quickstart: run/anywhere/terminals.md | ||
installing-w/out-brew: run/anywhere/terminals.md | ||
docker: run/anywhere/docker.md | ||
ci-cd: run/anywhere/ci-cd.md | ||
scripts: run/anywhere/scripts.md | ||
editors: run/anywhere/editors.md | ||
pkgx-install: pkgx-install.md | ||
install: pkgx-install.md | ||
support: support.md | ||
dev: dev.md | ||
installing-w/out-brew: getting-started.md | ||
pantry: pkging/pantry.md | ||
getting-started: getting-started.md | ||
quickstart: getting-started.md | ||
|
||
help/pkg-not-cached: https://github.com/orgs/pkgxdev/discussions/new?category=help&title=pkg-not-cached | ||
help/http-failure: https://github.com/orgs/pkgxdev/discussions/new?category=help&title=http-failure | ||
help/ambiguous-pkgspec: https://github.com/orgs/pkgxdev/discussions/new?category=help&title=ambiguous-pkgspec | ||
|
||
# links should never die | ||
docker: getting-started.md | ||
ci-cd: getting-started.md | ||
scripts: scripting.md | ||
run/anywhere/terminals.md: getting-started.md | ||
run/anywhere/docker.md: getting-started.md | ||
run/anywhere/ci-cd.md: getting-started.md | ||
run/anywhere/scripts.md: scripting.md | ||
pantry.md: pkging/pantry.md | ||
pantry-api.md: pkging/pantry.md | ||
pkgx-install: https://github.com/pkgxdev/pkgm | ||
install: https://github.com/pkgxdev/pkgm | ||
support: https://github.com/pkgxdev/discussions | ||
dev: https://github.com/pkgxdev/dev |
This file contains 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
This file contains 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,32 +1,17 @@ | ||
# use banner rather than an h1 at the top of the file | ||
MD041: false | ||
|
||
# extra lines to offset content | ||
MD012: false | ||
|
||
# skipping heading levels as needed for display purposes | ||
MD001: false | ||
default: | ||
true | ||
|
||
# "prompts" in code examples | ||
MD014: false | ||
|
||
# consecutive distinct blockquotes | ||
MD028: false | ||
|
||
# sometimes, you need HTML: <details> | ||
MD033: false | ||
MD013: | ||
code_blocks: false | ||
tables: false | ||
|
||
# duplicate headers are sometimes useful | ||
MD024: false | ||
# Honestly most of the lint rules are absurd, we disable these *at least* | ||
|
||
# can't split up a table row | ||
MD013: false | ||
|
||
# some titles end in 'etc.' | ||
MD026: false | ||
|
||
# gitbook provides its own top-level heading so we use `#` as `##` | ||
# First line in a file should be a top-level heading | ||
MD041: false | ||
# Multiple top-level headings in the same document | ||
MD025: false | ||
|
||
# this is working around gitbook styling issues | ||
MD029: false | ||
# Inline HTML | ||
MD033: false | ||
# Multiple consecutive blank lines | ||
MD012: false |
This file contains 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
This file contains 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
This file contains 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 |
---|---|---|
|
@@ -20,3 +20,6 @@ jobs: | |
- uses: fischerscode/tagger@v0 | ||
with: | ||
prefix: v | ||
- run: | | ||
git tag -f latest | ||
git push origin latest --force |
This file contains 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
This file contains 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
This file was deleted.
Oops, something went wrong.
This file contains 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,65 @@ | ||
name: ci·docker | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- .github/Dockerfile | ||
- .github/workflows/ci.docker.yml | ||
|
||
concurrency: | ||
group: ci/docker/${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
permissions: | ||
contents: read | ||
packages: write | ||
|
||
jobs: | ||
docker-build: | ||
runs-on: ubuntu-latest | ||
container: debian:buster-slim | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- run: apt-get update && apt-get install -y curl gcc perl make | ||
|
||
- uses: dtolnay/rust-toolchain@stable | ||
- run: cargo build --release | ||
|
||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: products | ||
path: ./target/release/pkgx | ||
|
||
docker-test: | ||
runs-on: ubuntu-latest | ||
needs: docker-build | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: products | ||
|
||
- run: | | ||
mkdir products | ||
mv ./pkgx products/$(uname -m) | ||
curl https://pkgxdev.github.io/pkgm/pkgm.ts -o products/pkgm | ||
- run: | ||
docker build | ||
--tag pkgxdev/pkgx | ||
--file .github/Dockerfile | ||
. | ||
|
||
- run: | | ||
cat <<EoD> Dockerfile | ||
FROM pkgxdev/pkgx | ||
RUN pkgx --version | ||
RUN if git --version; then exit 1; fi | ||
RUN pkgx git --version | ||
RUN pkgm install git | ||
RUN if ! git --version; then exit 2; fi | ||
EoD | ||
docker build --file Dockerfile . |
This file contains 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
Oops, something went wrong.