Commit graph

304 commits

Author SHA1 Message Date
Jorge Bucaran bd7b69d47b
Copy default schema before top-level files 2020-11-05 03:20:27 +09:00
Jorge Bucaran 08bdf7ed0d
Don't print log for fisher install fisher during bootstrap 2020-11-04 20:17:56 +09:00
Jorge Bucaran 168004cf1e
Use more backward compatible -a flag 2020-11-04 20:07:45 +09:00
Jorge Bucaran dbf07b1709
Fisher 4.0 (#596)
- Introduce new event system. #526, #527 #573.
- Deprecate `init.fish`, `uninstall.fish`, etc. #581
- No cache fallback, no plugin dependencies, no more private
package hosts, and no more gitlab/bitbucket support. #464, #579
- Require fish 3.0, use newer fish features, e.g., use `wait` to
implement concurrent downloads.
- Rely less on external tools. No awk, no sed, no basename/dirname.
Just mv, rm, cp, and mkdir.
- Deprecate `fishfile` in favor of `fish_plugins`. This new file
works like the old fishfile, but without comment support. See #524.
2020-11-04 19:50:10 +09:00
Jorge Bucaran c84294b06f
3.3.2 2020-08-13 20:38:46 +09:00
Jorge Bucaran 429b99696f
Consistent terminology - use plugin everywhere; #587 2020-08-13 20:38:02 +09:00
Jorge Bucaran b9c5b48513
3.3.1 2020-08-05 00:00:46 +09:00
Jorge Bucaran fcef567fba
Download packages from HEAD; close #585 2020-08-05 00:00:33 +09:00
Jorge Bucaran 6cdfadc41e
3.3.0 2020-08-02 19:42:15 +09:00
Jorge Bucaran d7035f3f4e
Add default (main) tag fallback support; fix #583
When adding packages without specifying the tag/branch, e.g.

  fisher add jorgebucaran/nvm.fish

we'll try to download it from the `/main` tag by default and
if that fails, fallback to `/master`.
2020-08-02 19:33:34 +09:00
Jorge Bucaran c20d1b3ec3
Fix broken self-update; close #584 2020-08-02 11:01:19 +09:00
Jorge Bucaran 9a0679c9ae
3.2.12 2020-07-27 20:17:17 +09:00
Guilherme Silva 510e6254ee
self-update: better network error handling; fix #580
A power outage could corrupt a `fisher self-update`. 
This change prevents fisher from overwriting itself to death.
2020-07-27 20:16:49 +09:00
James Smith 3decc8e468
Migrate Data to Proper XDG Directory (#571)
Going by the XDG base directory specification, it makes more sense to
place fisher data in XDG_DATA_HOME rather than XDG_CONFIG_HOME.
2020-07-01 12:30:16 +09:00
Jorge Bucaran 017046abf3
3.2.11
https://github.com/jorgebucaran/fisher/releases/tag/3.2.11
2020-05-23 01:39:50 +09:00
Andrei Borisov 44405ca9c4
Fix _fisher_parse function for BusyBox awk (#566) 2020-05-23 01:37:54 +09:00
Jorge Bucaran c142f61e51
3.2.10 2019-11-16 01:38:00 +09:00
mattmc3 25ae8be214 Better fishfile location support (#547)
* Better fishfile location support

Per issue #545, support fishfile living in $fish_config even when $fisher_path is set if desired.

* Re-home fishfile to $fish_config/fishfile

Per discussion here:
https://github.com/jorgebucaran/fisher/pull/547
https://github.com/jorgebucaran/fisher/issues/545

Fish file is returned from $fisher_path/fishfile to $fish_config/fishfile.

* Change $fishfile to global variable
2019-11-09 12:06:43 +09:00
Jorge Bucaran ae37295f81
3.2.9 2019-04-17 02:32:18 +09:00
Jorge Bucaran 8b5a422999
Trim https:// before github.com/ in _fisher_fmt 2019-04-17 02:32:04 +09:00
Jorge Bucaran 0b1f270361
3.2.8 2019-03-06 12:20:23 +09:00
AppleTheGolden c66a1db768
Ignore curl write out vars from your .curlrc (#530) 2019-03-06 12:17:11 +09:00
Jorge Bucaran b2cd7aee3a
3.2.7 2019-01-30 03:36:34 +09:00
Jorge Bucaran c7472b2961
fix: don't hang if there are jobs in the bg; close #523 2019-01-30 03:33:03 +09:00
Jorge Bucaran ae878a8e9c
refactor: indent stream redirections properly 2019-01-23 00:53:51 +09:00
Jorge Bucaran 9a23976473
3.2.6 2019-01-22 20:36:46 +09:00
Jorge Bucaran 49c3eabf9f
refactor: rename some internal variables 2019-01-22 20:26:48 +09:00
Jorge Bucaran 37a6cd28e3
refactor: rename help,version to --{help,version} 2019-01-22 18:54:16 +09:00
Jorge Bucaran e11cd69f17
refactor: embed version echo to argv switch 2019-01-22 18:29:59 +09:00
Jorge Bucaran 5ddafed654
refactor: don't read entire fisher.fish to get version 2019-01-22 18:24:07 +09:00
Jorge Bucaran 91417201f4
fix: refactor parallel fetch; close #518
- Resolve circular dependencies for local packages
  - Integrate _fisher_deps functionality to _fisher_fetch
- Update _fisher_jobs to exit with status 1 if there are no jobs
- Use `set -q myvar[1]` instead of `test -z $myvar` where possible
2019-01-22 17:58:42 +09:00
Jorge Bucaran db82938731
fix: sed regexes; bug introduced with fe1cc9805 2019-01-22 10:13:32 +09:00
Jorge Bucaran 12ee3cb33e
refactor: remove _fisher_wait function; use inline solution
To be eventually replaced by the `wait` builtin.
2019-01-21 20:51:25 +09:00
Jorge Bucaran 972eed7aa8
refactor: simplify _fisher_add and _fisher_rm code 2019-01-21 20:50:23 +09:00
Jorge Bucaran 632917c7d2
fix: show packages installed from a branch/tag in fisher ls 2019-01-21 20:04:56 +09:00
Jorge Bucaran 8a99865be5
refactor: consume empty lines in fishfile 2019-01-21 20:02:25 +09:00
Jorge Bucaran 3a13ba9d68
feat: allow inline comments in fishfile 2019-01-21 19:29:25 +09:00
Jorge Bucaran 975aa989c9
refactor: rename _fisher_diff to _fisher_parse 2019-01-21 16:56:29 +09:00
Jorge Bucaran fe1cc9805c
refactor: make $HOME to `~' sed regex stricter 2019-01-21 16:36:55 +09:00
Jorge Bucaran 8cb6692785
fix: add local packages to fishfile 2019-01-21 16:03:06 +09:00
Jorge Bucaran 61f679e6a3
fix: if inside a local package, allow installing with: . or ./; close #513 2019-01-21 15:36:30 +09:00
Jorge Bucaran 6401d18504
3.2.5
- ci: use && (tears of joy)
- docs: better explore package directions
- refactor: add license info to README; remove LICENSE file
- refactor `fisher ls REGEX`
- refactor: merge fishfile read/write parser to one script
- refactor: take advantage of nullglob in for loops
- refactor: prepend "fisher:" to error messages to improve logging
- refactor: remove unnecessary message after self-uninstall
- refactor: rename `fisher self-complete` to `fisher complete`
- refactor: simplify status report format script
2019-01-21 02:51:34 +09:00
Stefan Maric 1211e0bafa fix: override fishfile content instead of replacing the file
This allows fishfile to be a symlink, which I used to keep track of my
dotfiles in a repo, and broke after upgrading to V3.
2019-01-18 15:30:45 +01:00
Jorge Bucaran f1766dcfa0
refactor: automate erasing variables in uninstall 2019-01-12 19:10:14 +09:00
Jorge Bucaran d1e49f8d9a
3.2.4 2019-01-12 18:49:22 +09:00
Jorge Bucaran 78c0852162
feat: filter ls output using a regular expression; close #512 2019-01-12 18:49:03 +09:00
Jorge Bucaran 12661c592f
fix: ls should show only user installed packages; close #511 2019-01-12 18:19:28 +09:00
Jorge Bucaran 03bfe5ed2a
3.2.3 2019-01-12 13:46:19 +09:00
Jorge Bucaran 14c740d1d6
docs: move legacy fish support guide to issues; #510 2019-01-12 13:46:01 +09:00
Jorge Bucaran fbfc7c04f3
refactor: improve fisher rm completions
For tab completions we want to list only the packages that you
added yourself (via the CLI or fishfile) and ignore those that
are installed but are dependencies of another package/s.
2019-01-12 12:46:37 +09:00