{"id":47232534,"url":"https://github.com/kernelle-soft/shellshock","last_synced_at":"2026-03-13T20:40:34.146Z","repository":{"id":340987409,"uuid":"1164344948","full_name":"kernelle-soft/shellshock","owner":"kernelle-soft","description":"Shared shell shcripts should shleep in shellshock","archived":false,"fork":false,"pushed_at":"2026-02-27T13:14:55.000Z","size":39,"stargazers_count":0,"open_issues_count":7,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-27T17:19:02.190Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kernelle-soft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-23T01:05:19.000Z","updated_at":"2026-02-27T13:15:00.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/kernelle-soft/shellshock","commit_stats":null,"previous_names":["kernelle-soft/shellshock"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/kernelle-soft/shellshock","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kernelle-soft%2Fshellshock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kernelle-soft%2Fshellshock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kernelle-soft%2Fshellshock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kernelle-soft%2Fshellshock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kernelle-soft","download_url":"https://codeload.github.com/kernelle-soft/shellshock/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kernelle-soft%2Fshellshock/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30474979,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-13T17:15:31.527Z","status":"ssl_error","status_checked_at":"2026-03-13T17:15:22.394Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-03-13T20:40:33.450Z","updated_at":"2026-03-13T20:40:34.138Z","avatar_url":"https://github.com/kernelle-soft.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Shellshock\n\nShared scripting framework for [kernelle-soft](https://github.com/kernelle-soft) projects.\n\n## Usage\n\nAdd as a git submodule and bootstrap:\n\n```bash\ngit submodule add git@github.com:kernelle-soft/shellshock.git shell/.shock\nshell/.shock/workspace_init.sh\n```\n\nOn subsequent clones, initialize and install tools in one shot:\n\n```bash\ngit submodule update --init shell/.shock \u0026\u0026 shell/.shock/workspace_init.sh\n```\n\n`workspace_init.sh` copies the `shock` dispatcher to `shell/shock` and runs\n`shock workspace` to install tools declared in `shock.lock`.\n\n```bash\nshell/shock workspace --check\nshell/shock git-bump --dry-run\nshell/shock git-commit -a\nshell/shock git-config\n```\n\n## Structure\n\n```\nshock               # CLI dispatcher (copied to shell/ by consumer)\nworkspace_init.sh   # Bootstrap script (submodule init → copy dispatcher → install tools)\ncli/                # Subcommands (standalone executables)\n  workspace         # Declarative tool installer\n  git-bump          # Semver tag bumping\n  git-commit        # Automated CI commits\n  git-config        # Git user config for CI bots\n  publish-release   # GitHub/Forgejo release creation with prerelease detection\nlib/                # Sourceable libraries (.api.sh, .func.sh)\nactions/            # Composite GitHub Actions\nschema/             # JSON schemas for manifest.json and shock.lock\n```\n\nConsumer project layout:\n\n```\nproject/\n  shock.lock                    # declarative tool definitions\n  shell/\n    shock                       # dispatcher (copied from .shock/)\n    .shock/                     # submodule\n    scripts/                    # project-specific scripts\n      lib/                      # sourceable libraries\n      chores/                   # build, sync, lint, etc.\n      ci/                       # CI-specific scripts\n      install/                  # installer scripts\n```\n\n## Tool Installation\n\n`shock workspace` reads tool definitions from `shock.lock` at the project root.\nStrategies are top-level keys; each tool is an object with at least a `version`:\n\n```json\n{\n  \"cargo-binstall\": {\n    \"tokei\": { \"version\": \"14.0.0\", \"args\": \"--locked --force\" }\n  },\n  \"go-install\": {\n    \"govulncheck\": { \"version\": \"1.1.4\", \"pkg\": \"golang.org/x/vuln/cmd/govulncheck\" }\n  },\n  \"local\": {\n    \"gh\": { \"version\": \"latest\" }\n  }\n}\n```\n\nThe `local` strategy delegates to `\u003ctool\u003e.installer.sh` / `\u003ctool\u003e.uninstaller.sh`\nscripts found under `$TOOLS_SCRIPTS_DIR` (defaults to `$PROJ/shell/scripts`).\n\n## Environment\n\n- `PROJ` -- project root (set by consumer's `.envrc` or CI)\n- `SHELLSHOCK_ENVRC` -- bootstrap hook that sources the project `.envrc`; set automatically by `actions/envrc` in CI, or by `direnv` locally\n- `TOOLS_SCRIPTS_DIR` -- override search path for local installer scripts (defaults to `$PROJ/shell/scripts`)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkernelle-soft%2Fshellshock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkernelle-soft%2Fshellshock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkernelle-soft%2Fshellshock/lists"}