Commit Graph

102 Commits

Author SHA1 Message Date
Jorge Bucaran
4d8d6aa6b9 No overriding getopts via plugins. Close #191 2016-04-09 11:33:58 +09:00
Jorge Bucaran
cf19aed3e6 Fix broken index URL link. 2016-04-06 09:45:25 +09:00
Jorge Bucaran
5659c469b0 Bring spin back to avoid installing issues. Spin for everyone. 2016-03-31 03:19:44 +09:00
Jorge Bucaran
ebf1de50a1 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
c46c0d7e1b Don't return 1 if there were no updates. 2016-03-29 21:22:14 +09:00
Bret Johnson
e460677e8d 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
bb11cea120 Add 'Aye', because we are Fisherfolk. 2016-03-29 01:54:44 +09:00
Jorge Bucaran
c98de5cf4b Better formatting for up to date message. 2016-03-29 01:48:37 +09:00
Jorge Bucaran
c11ac1fdbf Show changes when updating. 2016-03-29 01:22:15 +09:00
Jorge Bucaran
ee9164ac6e Simplify update mechanism, avoid merges. 2016-03-29 01:21:51 +09:00
Jorge Bucaran
b78220f1e6 Remove script file support for .load plugins. Revert 2cfa1c. 2016-03-26 15:36:21 +09:00
Jorge Bucaran
24bebe7811 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
2b43beb324 Fix a bug in the dependency installer counter. 2016-03-25 03:57:17 +09:00
Jethro Kuan
b2c521a41d Clear ignored files on cleanup 2016-03-22 23:02:49 +08:00
Jorge Bucaran
4920550c7a Fix long search result result width. 2016-03-22 21:19:58 +09:00
Jorge Bucaran
2cfa1c5184 Support .load files using custom scripts. 2016-03-17 16:47:30 +09:00
Jorge Bucaran
b00db85348 Display plugin update failed message only if there are plugins. 2016-03-16 15:01:28 +09:00
Jorge Bucaran
d9f9dd9e8d Do not print an empty lines if there are no plugins. 2016-03-16 15:00:40 +09:00
Jorge Bucaran
abc34f1c7a Skip plugin update if there are no plugins to update. 2016-03-16 14:43:07 +09:00
Jorge Bucaran
29853bcc2d More verbose and safer has jobs check. 2016-03-15 22:15:32 +09:00
Jorge Bucaran
d37f0ad706 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
b4caade4fd 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
5fa03a14cd Update README. 2016-03-14 04:20:40 +09:00
Jorge Bucaran
0a65c381f9 Bug fix: Git rebase has no --quiet option. 2016-03-12 07:37:25 +09:00
Jorge Bucaran
05ace93145 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
d24a4f0bff Simplify fisher_help, update docs. 2016-03-09 18:40:59 +09:00
Jorge Bucaran
57964e6842 Close #149, #150. 2016-03-09 13:24:47 +09:00
Jorge Bucaran
88fcbfd565 More tests, smarter manifest. 2016-03-08 22:16:59 +09:00
Jorge Bucaran
4deb812606 Fix color reset #144 and close #155. 2016-03-06 20:29:05 +09:00
Jorge Bucaran
2b1a1e759d Introduce set_color_custom. Close #144. 2016-03-06 03:04:49 +09:00
Jorge Bucaran
8fd8dc0664 Move debug from __fisher_plugin_source to before call. 2016-03-02 15:37:39 +09:00
Jorge Bucaran
c0c7f6a47b Be more secretive about index updates. 2016-03-02 12:23:43 +09:00
Jorge Bucaran
aa8a98a966 Fix regression causing update to fail in some plugins. 2016-03-02 10:39:13 +09:00
Jorge Bucaran
6b9969205e Stash only for non-master branches. 2016-03-02 00:26:42 +09:00
Jorge Bucaran
6a8998c51f Capitalize Index. 2016-03-02 00:12:21 +09:00
Jorge Bucaran
2c4e96a551 Show total of plugins that will be updated in fisher u -a. 2016-03-02 00:10:30 +09:00
Jorge Bucaran
f86b10b6a1 Do no update total while installing/updating, etc. Closes #139. 2016-03-01 23:59:43 +09:00
Jorge Bucaran
96d665de11 Install functions if index check fails. 2016-03-01 18:27:27 +09:00
Jorge Bucaran
c65adfcab8 Remove debug from __fisher_deps_install. 2016-03-01 18:19:00 +09:00
Jorge Bucaran
be65fdf3f0 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
2cbbb00dcb 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
Jorge Bucaran
f2443ab8ac Use fisher_search_format by default. 2016-02-26 17:07:42 +09:00
Jorge Bucaran
e28a53fcf3 Update fisher_update_interval. 2016-02-26 17:07:16 +09:00
Jorge Bucaran
0ae4c97326 Power up search Close #115,#128
* Search now has a color display mode enabled by default when listing
  records for human consumption, but continues to produce easy to parse
  output when selecting specific fields.

* The following example queries:

  * fisher search --name
  * fisher search --url
  * fisher search --name --url
  * fisher search --tag=prompt --name

  and so forth continue to display easy to parse output.

* The following example queries:

  * fisher search
  * fisher search --name=fishtape
  * fisher search --tag=prompt
  * fisher search --author=joe

  display in color by default and support multiple formats using the
  --format option described below. The colors used are selected from
  $fish_color_* variables for best results.

* To disable color output, use --no-color. To customize the display
  format use any of the following keywords:

  * --format=*oneline* (default)
  * --format=*short*
  * --format=*verbose*
  * --format=*longline*
  * --format=*raw*

* Search now shows unique records when listing --authors only. #128
2016-02-26 16:59:47 +09:00
Jorge Bucaran
0960e1130a Pave way for search --format. 2016-02-26 00:03:19 +09:00
Jorge Bucaran
fbddca1106 Improve instrumentation, consistent logs. 2016-02-26 00:03:19 +09:00
Jorge Bucaran
d6fd6be951 Fork awk only once, simplify. 2016-02-26 00:03:19 +09:00
Jorge Bucaran
f6519e9ad4 Redirect standard error to null by default. 2016-02-26 00:03:19 +09:00
Ivan Tham
2a51c37bd8 [#84] Beautify -h (4×' ', 15×opt, desc) 2016-02-25 21:40:12 +08:00
Jorge Bucaran
b9a158d4fc Improve __fisher_name name resolution algorithm.
Improve __fisher_name name resolution from paths or URLs
more accurately. Now correctly process names paths such
as fisher-plugin-*, fisher-theme-* and other permutations.
2016-02-25 14:16:39 +09:00