Commit Graph

700 Commits (017046abf3aef24c9fba61c2348b627136279975)
 

Author SHA1 Message Date
Jorge Bucaran 45e556ab18
3.0.9 6 years ago
Jorge Bucaran 4d953fa72e
feat: custom hosted packages via ssh+git; fix #464
Use git to install packages hosted in a custom server
via ssh using a URL like: owner@host.xz:path/to/repo
6 years ago
Jorge Bucaran da792f6887
style: improve package fetch error message 6 years ago
Jorge Bucaran 44ec48b472
refactor: use `id` to refer to package name specifier, not `name` 6 years ago
Jorge Bucaran 993b471777
refactor: improve readability of status report generator 6 years ago
Jorge Bucaran 32dbf148bb
refactor: improve fishfile formatter normalize regex 6 years ago
Jorge Bucaran 55b543eb13
fix: display correct time on Linux; close #463 6 years ago
Joe George 28aaa277e0 fix: don't strip github.com from local paths; fix #472 6 years ago
Michiel Scholten 1d82bee9c2 fix: replace ln with cp; don't hardlink; close #470 6 years ago
Jorge Bucaran 56e45ef18f
doc: mention packages can be installed from a commit-ish 6 years ago
Jorge Bucaran 206ecf7293
doc: make migration guide more noticeable; #450 6 years ago
Jorge Bucaran 68e4ee631f
3.0.8 6 years ago
Jorge Bucaran 23379887c0
refactor: simplify builtin jobs parse script 6 years ago
Jorge Bucaran 2e933cad31
fix: use $__fish_data_dir if available 6 years ago
Jorge Bucaran 203e9d4d69
refactor: remove magic number 6 years ago
Jorge Bucaran 0898825301
3.0.7 6 years ago
Jorge Bucaran f75de3aa87
fix: don't create new fishfile (except the first time); fix #460 6 years ago
Jorge Bucaran 4e7c9e000b
fix: don't expect https:// to start lines in fishfile 6 years ago
Jorge Bucaran 2549ac1f4b
fix: make trailing / optional in \$fisher_config; close #462
$fisher_config/foo/bar  → foo/bar
{$fisher_config}foo/bar → foo/bar
$fisher_config//foo/bar → foo/bar
6 years ago
Jorge Bucaran c7765222e5
refactor: use basename to remove path refix more reliably; fix #462 6 years ago
Jorge Bucaran 226c0d946f
style: remove html comment; don't use fish code block 6 years ago
Jorge Bucaran 785fa47870
3.0.6 6 years ago
Jorge Bucaran 73505e74cb
fix: use real target if fishfile is a symbolic link; close #460 6 years ago
Jorge Bucaran 2a6c36b8a9
fix: use string check to determine if filename is a fish file; fix #459
Bug was introduced in 7850f78e8a.

When removing a file don't use `functions -q $filename` as a loose
check for a .fish file. Use a string match instead.

`functions -q $filename` will cause the function defined in the file
to be autoloaded (if it wasn't already) which can cause trouble with
some "dubious" packages that run arbitrary code in function files.
6 years ago
Jorge Bucaran 60d3c4c9c3
3.0.5 6 years ago
Jorge Bucaran 94801fb177
fix: don't fetch a pkg you already fetched 6 years ago
Jorge Bucaran 3e0bca9e47
refactor: better error msg when trying to install pkg without a prefix 6 years ago
Jorge Bucaran 543e97d6c7
3.0.4 6 years ago
Jorge Bucaran d7b9cd526d
fix: use perl for epoch only on FreeBSD & Darwin; fix #458 6 years ago
Jorge Bucaran 7850f78e8a
feat: copy non fish files to $fisher_path; close #456 6 years ago
Jorge Bucaran 2ead99f732
refactor: improve commit error msg when fishfile is not empty 6 years ago
Jorge Bucaran 8f42f7abdf
refactor: dry self-uninstall; add farewell message 6 years ago
Jorge Bucaran 56131b66dc
ci: show version & help in ci 6 years ago
Jorge Bucaran 41d5fe0ca6
doc: use git.io/fisher as installation URL since it was restored 6 years ago
Jorge Bucaran 8c348f4082
ci: use raw installation url until https://git.io/fisher is restored 6 years ago
Jorge Bucaran 61f6f8c8c4
doc: use raw installation url until https://git.io/fisher is restored 6 years ago
Jorge Bucaran ac3e05ae3e
doc: add upgrading instructions and link to migration guide; #450 6 years ago
Jorge Bucaran 6d796516d9
3.0.3 6 years ago
Jorge Bucaran 13eba771ee
fix: prevent failglob error when $fisher_config is empty; close #455
fish-shell/fish-shell#2719
fish-shell/fish-shell#4175
6 years ago
Jorge Bucaran 5bf5c8da4c
3.0.2 6 years ago
Jorge Bucaran 1bd12771e7
don't try to install a package from an invalid specifier; fix #454 6 years ago
Jorge Bucaran 25661f77cf
3.0.1 6 years ago
Jorge Bucaran 444a8fee8c
fix: create fishfile automatically; close #451
- create fishfile if one doesn't already exist
- only read from stdin when using `add` or `rm` commands
- show help if unknown command is entered
- show error message when fishfile is empty and no packages
  were added, removed or updated
6 years ago
Jorge Bucaran 318a1941dc
docs: add link to key bindings info until fish-custom-key-bindings has been published 6 years ago
Jorge Bucaran 4e4c2a9524
hotfix: use correct version number (3.0.0) 6 years ago
Jorge Bucaran 54170ef1c3
breaking: implement fisher V3 (#445)
SUMMARY

This  PR  rewrites  fisher  from  the ground  up  and  adds  new
documentation. It introduces some  breaking changes as described
in the  next section. For  a historical background of  this work
see the original V3 proposal #307 and the more recent discussion
about the future of the project #443.

After much debate  and careful consideration I decided  it is in
the best interest of the  project to keep the CLI-based approach
to  dependency  management as  a  facade  to the  fishfile-based
approach originally proposed.

The new `add` commands (previously  `install`) and good ol' `rm`
interactively update  your fishfile and commit  all your changes
in one  sweep. To the  end user, it's as  if you were  adding or
removing  packages like  you already  do now.  Internally, these
commands affect how the fishfile  is parsed and result in adding
new or replacing/removing existing entries followed by a regular
`fisher` run.

INSTALLING

- `install` has been renamed to `add`

- Installing from a gist is  no longer supported (but it will be
back in a future release—removed only to simplify the rewrite)

- To  install a package  from a tag or  branch use an  at symbol
`@`—the colon `:` is deprecated

LISTING

- `ls` and `rm` are still available with a few minor differences

- `ls` followed by a package name does not list specific package
information (may be added back in a future release)

- `ls`  output format  no longer displays  a legend  to indicate
whether a package is a theme or a local package; now it's a flat
dump of every installed package specifier

- For local packages the full path is shown instead

- I want  to add a `--tree`  option in to display  packages in a
tree-like format in the future

- `ls-remote` has been removed as there is no longer a preferred
organization to  look for packages— there  is no plan to  add it
back

UPDATING

-  A new  `self-update` command  has been  introduced to  update
fisher itself

- fisher  will be only  updated when  a new version  is actually
available

- `update` has been removed

-  Everything is  installed from  scratch everytime  you add  or
remove  something,  so  there  is no  need  to  update  specific
packages—you're always up-to-date

-  To  lock  on  a  specific  package  version  install  from  a
tag/branch, e.g., `mypkg/foobar@1.3.2`

UNINSTALLING

- `self-uninstall` works as usual

HELP & VERSION

- `help` only displays fisher usage help

- help is dumped to stdout instead of creating a man page on the
fly and piping it to your pager `version` works as usual

ENVIRONMENT

- `$fish_path` been  renamed to `$fisher_path` to  make it clear
that this is a fisher specific extension, not your shell's

ECOSYSTEM

-  Oh  My  Fish!  packages  are  still  supported,  albeit  less
attention is paid to them

-  Some  packages that  use  Oh  My Fish!  specific  environment
variables or events might not work

- Most of  Oh My Fish! extensions are no  longer necessary since
fish 2.3, therefore it should be a simple matter to upgrade them
to modern fish

DEPENDENCIES

- fisher can now run on fish 2.0

- It's a  good idea to upgrade  to at least fish 2.3  to use the
string builtin and configuration snippets, but there's no reason
for fisher to force you to use any fish version

- `curl` is required for fetching packages

- I am considering adding a  fallback to `wget` if `curl` is not
available on your system

- `git` is optional

-  V3   fetches  packages  directly  from   github,  gitlab  and
bitbucket, if you are using them

- git  is only used  (implementation still  wip) if you  want to
install a  package from an  unknown git  host like your  own git
server
6 years ago
Jorge Bucaran fa4eec9b2a
refactor: remove ability to rename fisher command itself 6 years ago
Jorge Bucaran d265de6ef6
refactor: remove slack button 6 years ago
Jorge Bucaran 0a9d7faa8b
docs: add heading 6 years ago
Jorge Bucaran dadcc6c190
docs: add bootstrap note; fix #420 6 years ago