Commit graph

111 commits

Author SHA1 Message Date
Jorge Bucaran e7a538239b
Suppress top-level files install warning (#666) 2021-03-12 03:17:22 +09:00
Jag Talon b222175fc8
Use short-option style for tar (#665)
OpenBSD's tar doesn't support long options.
Short options ensure compatibility with OpenBSD systems.
2021-03-11 00:27:33 +09:00
Jorge Bucaran 3f0851c5cb
4.2.0 2021-01-18 18:52:35 +09:00
Jorge Bucaran 746ec1a504
Remove support for .fish files outside functions (#651)
- Move fisher.fish to functions directory.
- Add deprecation warning.

Close #651
2021-01-18 18:51:13 +09:00
Jorge Bucaran 9cc7d9582f
Create functions directory 2021-01-17 03:37:23 +09:00
Jorge Bucaran 85f897104d
Ahoy my mateys! fisherman 2.0.0 (beta) is here.
A lot has changed, in fact, fisherman as you knew it, is
no longer with us. Let me explain. The new fisherman, is
in fact a rewired clone of ``fin´´, a short-lived 2 week
experiment that started because it was easier to rewrite
everything than moving fisherman forward.

Let me explain. I was longing for a lightweight, simpler
fisherman with minimal maintanance cost. This fin lad is
one of the most pragmatic pieces of code I've ever written,
but attempting to maintain two drastically different plugin
managers was not a sane decision. fin's goal was to get out
of my way and let me be productive with fish and it did.

Now fin is fisherman and fisherman is fin. The most notable
change is that fisherman no longer depends on an index, so
like fin, it's neutral and agnostic to what plugins you use.

No index means fisherman completions are no longer as clever
as to show you description of plugins, but you will still get
enough information to know whether the plugin is a theme or not.

I hope you always check the plugin's README / online docs before
installing anything anyway.

With the index gone, we had no use for ``search``, so this command
is also gone.

If you were using search often or depended on the removed features
above, I am afraid they are gone *gone*, but trust me it's all for
the very best.

Now, with this out of the way, it's all unicorns and dartfish. Almost.

To upgrade to fisherman 2.0.0 you need to REMOVE your current version
 of fisherman:

1. ```rm -rf "$fisher_home" "$fisher_config"```
2. Open your config.fish and remove the fisherman initialization code.
3. ```exec fish < /dev/tty``` to reload the session.
4. Run `curl -Lo ~/.config/fish/functions/fisher.fish --create-dirs git.io/fisherman`

That's it. Probably.

The new fisherman brings a lot more stability and maturity to the
project and we need this change in order to move forward. I will
be actively fixing any bugs that may have sneaked in during the
```fin->fisherman``` rewiring, but please do ping me:

@bucaran on GitHub or directly to my email j@bucaran.me

if you find anything out of place. Feel free and invited to  go
wild with issues in order to get this into shape ASAP.

Cheers!
2016-04-22 00:34:06 +09:00
Jorge Bucaran 577b6c1d5a
Fix travis and remove slippery make remains. 2016-04-19 01:01:11 +09:00
Jorge Bucaran c5624a6832
1.5.0 2016-04-19 00:52:58 +09:00
detailyang ff53509a6c Use `test -L and -e` to check whether file exists. Close #182.
Possibly fix #182.
2016-04-11 11:48:18 +09:00
Jorge Bucaran bdf0f1edb5
No overriding getopts via plugins. Close #191 2016-04-09 11:33:58 +09:00
Jorge Bucaran 2eed8019d1
Fix broken index URL link. 2016-04-06 09:45:25 +09:00
Jorge Bucaran f614a20120
Bring spin back to avoid installing issues. Spin for everyone. 2016-03-31 03:19:44 +09:00
Jorge Bucaran 6c5cac3a18
Ahoy! Fisherman 1.4.0 has shipped.
Notable changes:

+ Now fisher list does not show plugins that are disabled,
  but available in the cache. To preview these items use
  fisher list --disabled.

+ Welcome aboard @orangecms and @xrain0610.

+ Fisherman is now available in AUR, thanks @orangecms.

+ Fix load order during installation. Now snippets can
  safely invoke functions defined in the plugin function
  directory. Thanks @orangecms. #170.

+ Fisherman **installs and updates plugins ⌁concurrently**.
  Performance may vary, but if you can see 5 to 10 times
  faster network times, it's working well.
2016-03-31 02:42:44 +09:00
Jorge Bucaran fca41816e1
Don't return 1 if there were no updates. 2016-03-29 21:22:14 +09:00
Bret Johnson 8e05f82980 For some reason a \ line continuation followed by a | at the beginning
of the next line has problems, at least on my machine running cygwin.
It produced an error like this:
~/.local/share/fisherman/functions/__fisher_plugin_validate.fish (line
42):                 | sed -E "
^ from sourcing file
~/.local/share/fisherman/functions/__fisher_plugin_validate.fish
called on standard input

This change simply eliminates the \ line continuation and instead
concatenates with the next line.  It seems simple enough and avoids
this problem, making it work on cygwin.
2016-03-28 23:51:33 -04:00
Jorge Bucaran 3b58fa70c7
Add 'Aye', because we are Fisherfolk. 2016-03-29 01:54:44 +09:00
Jorge Bucaran 13431e3c74
Better formatting for up to date message. 2016-03-29 01:48:37 +09:00
Jorge Bucaran 65cfdd0b49
Show changes when updating. 2016-03-29 01:22:15 +09:00
Jorge Bucaran 2888a63b98
Simplify update mechanism, avoid merges. 2016-03-29 01:21:51 +09:00
Jorge Bucaran 683dd53140
Remove script file support for .load plugins. Revert 2cfa1c. 2016-03-26 15:36:21 +09:00
Jorge Bucaran 2942cca0cd
Fix load order during installation. Close #170.
Now snippets can safely invoke functions defined in the plugin
function directory. Thanks @orangecms.
2016-03-26 14:41:44 +09:00
Jorge Bucaran a205256ce8
Fix a bug in the dependency installer counter. 2016-03-25 03:57:17 +09:00
Jethro Kuan 2e71cdfc94 Clear ignored files on cleanup 2016-03-22 23:02:49 +08:00
Jorge Bucaran 2deff15c12
Fix long search result result width. 2016-03-22 21:19:58 +09:00
Jorge Bucaran 8065db4225
Support .load files using custom scripts. 2016-03-17 16:47:30 +09:00
Jorge Bucaran 16e0527bff
Display plugin update failed message only if there are plugins. 2016-03-16 15:01:28 +09:00
Jorge Bucaran 2709c38c4e
Do not print an empty lines if there are no plugins. 2016-03-16 15:00:40 +09:00
Jorge Bucaran 1344762dcb
Skip plugin update if there are no plugins to update. 2016-03-16 14:43:07 +09:00
Jorge Bucaran 712cd07bff
More verbose and safer has jobs check. 2016-03-15 22:15:32 +09:00
Jorge Bucaran 210035a976
More space, brighter colors.
Add left-align padding to search results and use bright colors.
2016-03-15 22:14:25 +09:00
Jorge Bucaran cf7457a067
Don't install the entire index.
Handle the case when the user tries to install a plugin that is
a function, but a directory of the same name already exists in
the current working directory.
2016-03-15 22:13:29 +09:00
Jorge Bucaran 918f7bccd0
Update README. 2016-03-14 04:20:40 +09:00
Jorge Bucaran ff24ee8e9a
Bug fix: Git rebase has no --quiet option. 2016-03-12 07:37:25 +09:00
Jorge Bucaran ed335bf270
Ahoy! Fisherman 1.3.0
* Fix bug in fisher_config_color_reset not declaring path variable.
* Silence Git checkout standard error to prevent update failures in some edge cases.
* Revise and correct errors in the documentation and README.
* Add more instrumentation to fisher_plugin_disable.
* Minor doc updates.
2016-03-12 06:45:17 +09:00
Jorge Bucaran 732744c062
Simplify fisher_help, update docs. 2016-03-09 18:40:59 +09:00
Jorge Bucaran bb8a8663fc
Close #149, #150. 2016-03-09 13:24:47 +09:00
Jorge Bucaran ade58a01b7
More tests, smarter manifest. 2016-03-08 22:16:59 +09:00
Jorge Bucaran 9ae8cce31c
Fix color reset #144 and close #155. 2016-03-06 20:29:05 +09:00
Jorge Bucaran d57ad028e6
Introduce set_color_custom. Close #144. 2016-03-06 03:04:49 +09:00
Jorge Bucaran 8d029c99f6
Move debug from __fisher_plugin_source to before call. 2016-03-02 15:37:39 +09:00
Jorge Bucaran 0ddc5fa8c1
Be more secretive about index updates. 2016-03-02 12:23:43 +09:00
Jorge Bucaran 08811f3f8e
Fix regression causing update to fail in some plugins. 2016-03-02 10:39:13 +09:00
Jorge Bucaran 328b6fc38a
Stash only for non-master branches. 2016-03-02 00:26:42 +09:00
Jorge Bucaran 895faf9235
Capitalize Index. 2016-03-02 00:12:21 +09:00
Jorge Bucaran 694a2553ff
Show total of plugins that will be updated in fisher u -a. 2016-03-02 00:10:30 +09:00
Jorge Bucaran 986a9cad56
Do no update total while installing/updating, etc. Closes #139. 2016-03-01 23:59:43 +09:00
Jorge Bucaran cf9d9469fe
Install functions if index check fails. 2016-03-01 18:27:27 +09:00
Jorge Bucaran dbd04352fa
Remove debug from __fisher_deps_install. 2016-03-01 18:19:00 +09:00
Jorge Bucaran 8384bf3aa7
Ahoy!! Fisherman 1.0.0
* Deprecate fisher --list in favor of a new command
  fisher list. The behavior is roughly the same. See
  fisher help list for usage. tl;dr: Use list to query
  the local system / cache and search to query the index.

* Teach fisher_plugin_walk about fish_postexec,
  fish_command_not_found and fish_preexec event emitters
  and erase them during uninstall if they were defined in
  a snippet.

* Fisherman now recognizes the following aliases by default:
  i for install, u for update, l for list, s for search and
  h for help.

* Rewrite documentation to be simpler and more consistent.

* Fisherman can install "functions" now. If you have created
  a function interactively, you can run fisher install name
  of the function and a directory will be created in
  $PWD/name of the function and installed as usual.

* Fisherman now detects if users have modified their fish
  prompt using fish_config and if so, uninstalls $fisher_prompt.

* Search results now truncate plugin descriptions based in
 the width of the terminal screen.

* Install/Update/Uninstall CLI was retouched.

Looking behind and Ahead
========================

On Jan, 1st, Fisherman 0.1.0 departed from the bay of
"my hard drive" and today 1.0.0 has finally shipped.

Things are still a little rough and knotty, what did
you think? But 1.0.0 means all the basic things are
here.

Internally, we may still push some large changes, more
robust tests; at ~300 there are still areas a bit dry.

On the outside, Fisherman will change little, I hope.
That's a feature. If you want a more colorful CLI,
concurrent updates, or another bit here and there,
we may work something out.

This release means more time to focus on the plugin
ecosystem, but the adventures are far from over.
2016-03-01 18:02:38 +09:00
Jorge Bucaran ebec1eaa01
Fisherman 1.0 RC
* Deprecate fisher --list in favor of a new command fisher list.
  The behavior is roughly the same. See fisher help list for
  usage. tl;dr: Use list to query the local system / cache and
  search to query the index.

* Teach fisher_plugin_walk about fish_postexec,
  fish_command_not_found and fish_preexec event emitters and
  erase them during uninstall if they were defined in a snippet.

* Fisherman now recognizes the following aliases by default:
  i for install, u for update, l for list, s for search and h
  for help.

* Large documentation rewrite. Better, simpler, more concise
  and more consistent.

* Fisherman now detects if users have modified their fish
  prompt using fish_config and if so, uninstalls $fisher_prompt.
2016-02-29 23:13:29 +09:00