Commit Graph

45 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
1803c208c3 feat: install shell completions and man pages from archives
Updated install.sh for bat, fd, gh, goreleaser, lsd, rg, sd, watchexec,
and zoxide to extract and install shell completions (bash, fish, zsh) and
man pages from their release archives. Completions go to standard XDG
locations under the versioned opt directory. All moves use 2>/dev/null
fallbacks for older versions that don't include completions.
2026-03-10 09:15:23 -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
dc1ab03aeb ref(releases): add classification helpers: _names, _version, _filenames 2023-11-14 12:10:04 -07: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
9f7ce9842c feat(rg): upsert config file 2023-02-26 06:17:35 +00:00
HacDan
1984d10878 doc(rg): add Files section 2023-02-26 06:15:22 +00:00
AJ ONeal
d2fdc7b41a refactor!(posix): use posix shebang #!/bin/sh (fix #494) 2022-08-21 07:10:33 +00:00
AJ ONeal
a87e38b3e5 fix(posix): double quote vars that require it 2022-08-21 03:46:19 +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
de0554a9e5 chore(sh): remove unnecessary 'echo' from all scripts 2022-08-13 04:23:42 +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
704265583c fixup(rg): call install function 2021-11-21 09:53:33 +00:00
jk
ae83a11790 style(rg): add shebang, set bash strict mode, create function 2021-11-21 09:53:33 +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
20dea82a28 docs: update 'Updating' sections with new format 2021-08-15 05:57:26 +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
AJ ONeal
0deecf1264 add rg options -uu and -v 2020-11-11 20:01:09 -07:00
oguztecirlioglu
fa753e15b9 Used ripgrep to find and remove all lines with "& dir" in the "*.ps1" files. 2020-09-17 17:34:03 +01:00
Andrew Gallant
30fd0a3950 rg: don't embellish performance
ripgrep is fast, but no non-toy search tool is going to be faster in
every case. It's better to be a bit more reserved instead of spreading
misinformation about the performance of a tool. It may be an obvious
embellishment, but plenty of people will take it seriously.

In general, I think we should encourage spreading the nuance in the
trade offs of our tools as opposed to hyping them.
2020-09-16 08:46:42 -04:00
Andrew Gallant
51036a0917 rg: remove 'R.I.P. grep'
The "rip" in the name "ripgrep" is meant to mean "to rip through text."
Incidentally, its dual meaning never occurred to me until someone told
me after I had released it.

See also:
https://github.com/BurntSushi/ripgrep/blob/master/FAQ.md#intentcountsforsomething
2020-09-16 08:44:18 -04:00
Pratyush Saxema
ee34ace0de changes made
changes made as per request

all set
2020-09-07 16:20:37 +05:30
AJ ONeal
1c97e1c661 make _example current, add rg for Windows 2020-08-22 20:21:01 +00:00
AJ ONeal
d2b96608ff cleanup rg's install.sh 2020-08-03 17:08:44 -06:00
AJ ONeal
4b487e4d4d cleanup 2020-07-15 00:16:30 +00:00
AJ ONeal
c77b2afba8 add webi dat dat dat 2020-07-09 11:46:17 +00:00
AJ ONeal
94becf0eae minor cleanup 2020-07-03 06:20:00 +00:00
AJ ONeal
eeaa8db394 update (almost) all taglines and descs 2020-06-17 00:10:00 +00:00
AJ ONeal
5e0debf4c5 generalize, a lot 2020-06-16 10:45:54 +00:00
AJ ONeal
aca704f2d3 burn the logs and use 'install.bash' 2020-05-06 03:28:55 +00:00
AJ ONeal
624a263a91 use new bootstrap + webinstall approach 2020-05-04 04:11:44 -06:00
AJ ONeal
a418f075a7 fix local name WEBI_CSV 2020-05-03 08:46:49 +00:00
AJ ONeal
d117e5c2ae failsafe optional var, template baserul for downloads 2020-05-03 04:37:31 +00:00
AJ ONeal
271c23716b update rg desc 2020-05-02 22:11:32 +00:00
AJ ONeal
4f705479b9 ease up on the pipefail 2020-05-02 20:53:53 +00:00
AJ ONeal
260a2f1a8a add ripgrep 2020-05-02 20:43:53 +00:00