Commit Graph

23 Commits

Author SHA1 Message Date
AJ ONeal
23100394ac ref(installerconf): rename config keys and add full URL support
Renames:
- github_repo → github_releases (back-compat kept)
- github_source → github_sources (back-compat kept)
- gitea_repo → gitea_releases (back-compat kept)

New keys:
- gitea_sources, gitlab_releases, gitlab_sources

All keys now accept either owner/repo shorthand or full URLs:
- github_releases = sharkdp/bat
- github_releases = https://github.com/sharkdp/bat
- gitea_releases = https://git.rootprojects.org/root/pathman

Defaults: github → github.com, gitlab → gitlab.com.
Gitea has no default (self-hosted only).

Updated all 73 releases.conf files from github_repo to github_releases.
2026-03-11 11:51:43 -06:00
AJ ONeal
0861ebc8b8 ref(releases.conf): collapse source/owner/repo into single keys
Source type is now inferred from the primary key:
  github_repo = owner/repo   (was source=github + owner + repo)
  git_url = https://...      (was source=gittag + url)
  gitea_repo = owner/repo    (was source=gitea + owner + repo)
  hashicorp_product = name   (was source=hashicorp + product)

One-off dist sources (nodedist, zigdist, etc.) keep the explicit
source= key since they're already one-liners.

Parser still accepts the old format via the default fallback branch.
2026-03-11 01:05:08 -06:00
AJ ONeal
7f0c92e262 add releases.conf for all remaining packages and wire new fetchers
New fetcher packages:
- chromedist: Chrome for Testing API (googlechromelabs.github.io)
- gpgdist: SourceForge RSS for GPG macOS
- mariadbdist: MariaDB downloads REST API

New releases.conf files for:
- GitHub: aliasman, awless, duckdns.sh, hugo-extended, kubens, rg, postgres
- gittag: vim-commentary, vim-zig
- gitea: pathman
- chromedist: chromedriver
- gpgdist: gpg
- mariadbdist: mariadb
- nodedist: node

Alias support (alias_of key):
- golang → go, dashd → dashcore, psql → postgres, zig.vim → vim-zig
- Aliases skip fetching and share cache with their target

Every package with a releases.js now has a releases.conf (except the
dead macos package). fetchraw dispatches to all 13 source types.
2026-03-09 22:48:11 -06:00
AJ ONeal
8f9b9da4a3 chore: npm run fmt 2026-03-08 19:38:49 -06:00
AJ ONeal
2010c62226 ref(githubish): automated removal of unused request 2024-10-14 09:03:22 +00:00
AJ ONeal
3d51b8373a chore(pwsh): lint+fix 2023-10-18 02:10:55 -06:00
AJ ONeal
f98086b38e chore(pwsh): fmt 2023-10-18 02:10:55 -06:00
AJ ONeal
17f4b99f23 doc: minor updates to various Files sections 2023-10-17 17:23:07 +00:00
RubenRam
6c7e099adb doc(awless): update Files section 2023-10-17 17:18:42 +00:00
AJ ONeal
d2fdc7b41a refactor!(posix): use posix shebang #!/bin/sh (fix #494) 2022-08-21 07:10:33 +00:00
brij
fdeefd7e75 refactor(posix): remove function prefixes from all shell files 2022-08-18 15:10:58 +00:00
MoNakouzi
82af8b46a4 docs: replace ``bash with ``sh in all .md files 2022-08-15 20:45:43 +00:00
Marcin Woźniak
4c539f3bd2 chore(sh): remove more unnecessary 'echo' from all scripts (fix #466) 2022-08-15 20:33:32 +00:00
AJ ONeal
1c757ef9b1 docs(ps1): remove dead comment about missing WEBI_UA 2021-12-05 05:01:41 +00:00
Marcin Woźniak
ca7a838c6f chore(style): convert blocks into functions (see #325) 2021-11-21 10:50:03 +00:00
AJ ONeal
894562bc0c refactor!: namespace downloads to ~/Downloads/webi on Windows 2021-11-15 11:28:53 +00:00
AJ ONeal
b944f3cb25 bugfix(Windows): make sure ~/Downloads exists 2021-11-15 11:28:53 +00:00
AJ ONeal
3f64f8b9c5 cleanup: */install.ps1 add out-null to all New-Item calls 2021-04-26 07:10:08 +00:00
AJ ONeal
46445e9382 cleanup: shfmt, shellcheck, and whitespace 2021-04-26 07:03:47 +00:00
ishanpan
dbeef945f5 cleanup ps1 2021-04-26 04:52:11 +00:00
Alan Berman
e0f3f9ae05 feat(awless): add cheatsheet 2021-03-24 21:59:26 +00:00
AJ ONeal
b7abefe2ec awless: remove empty cheat sheet, update the update section 2021-03-22 05:52:21 +00:00
Ryan Burnette
fd5ed124f1 add awless installer 2021-03-14 16:01:31 -04:00