Commit graph

80 commits

Author SHA1 Message Date
Jorge Bucaran
ede380e3c3 Update README. 2016-03-14 04:20:40 +09:00
Jorge Bucaran
8186f51a23 Bug fix: Git rebase has no --quiet option. 2016-03-12 07:37:25 +09:00
Jorge Bucaran
eec6b67e16 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
d109e04c9a Simplify fisher_help, update docs. 2016-03-09 18:40:59 +09:00
Jorge Bucaran
2d802c1fbb Close #149, #150. 2016-03-09 13:24:47 +09:00
Jorge Bucaran
0b4e05782e More tests, smarter manifest. 2016-03-08 22:16:59 +09:00
Jorge Bucaran
fbe81ac053 Fix color reset #144 and close #155. 2016-03-06 20:29:05 +09:00
Jorge Bucaran
070d7bdc85 Introduce set_color_custom. Close #144. 2016-03-06 03:04:49 +09:00
Jorge Bucaran
3cf4ddb822 Move debug from __fisher_plugin_source to before call. 2016-03-02 15:37:39 +09:00
Jorge Bucaran
dc91c86170 Be more secretive about index updates. 2016-03-02 12:23:43 +09:00
Jorge Bucaran
6989dc7c7f Fix regression causing update to fail in some plugins. 2016-03-02 10:39:13 +09:00
Jorge Bucaran
08cceabe7e Stash only for non-master branches. 2016-03-02 00:26:42 +09:00
Jorge Bucaran
a3f1813dd7 Capitalize Index. 2016-03-02 00:12:21 +09:00
Jorge Bucaran
f0e4b66a76 Show total of plugins that will be updated in fisher u -a. 2016-03-02 00:10:30 +09:00
Jorge Bucaran
bba839c9a9 Do no update total while installing/updating, etc. Closes #139. 2016-03-01 23:59:43 +09:00
Jorge Bucaran
bd7b529581 Install functions if index check fails. 2016-03-01 18:27:27 +09:00
Jorge Bucaran
c2db6177a9 Remove debug from __fisher_deps_install. 2016-03-01 18:19:00 +09:00
Jorge Bucaran
c9ca6980b5 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
96b4522f84 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
b44e16e334 Use fisher_search_format by default. 2016-02-26 17:07:42 +09:00
Jorge Bucaran
f8911f0489 Update fisher_update_interval. 2016-02-26 17:07:16 +09:00
Jorge Bucaran
a6c21447f3 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
9fa126575f Pave way for search --format. 2016-02-26 00:03:19 +09:00
Jorge Bucaran
205f04a511 Improve instrumentation, consistent logs. 2016-02-26 00:03:19 +09:00
Jorge Bucaran
1de4b35dba Fork awk only once, simplify. 2016-02-26 00:03:19 +09:00
Jorge Bucaran
f66a219d42 Redirect standard error to null by default. 2016-02-26 00:03:19 +09:00
Ivan Tham
2e48587945 [#84] Beautify -h (4×' ', 15×opt, desc) 2016-02-25 21:40:12 +08:00
Jorge Bucaran
098d376fa6 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
Jorge Bucaran
34b880f6be Make __fisher_key_bindings_undo smarter. Close #121.
Until now key_bindings.fish only allowed simple bind <args>
staments and would fail for conditional statements, etc.
2016-02-25 10:08:48 +09:00
Jorge Bucaran
2f325c38ae Update is now true to its word :rage1:
The update mechanism updates master only. If you are working in branch
foo, the branch name is saved and restored later. First attempt a naive
git pull --rebase origin master, and if that fails, abort the rebase,
fetch origin master, reset to head and clean directory.
2016-02-24 23:59:55 +09:00
Jorge Bucaran
5f8c671bf5 Do not list info about --help option by default. 2016-02-24 15:30:56 +09:00
Jorge Bucaran
5ed4fdc274 Do not use env to export GIT_ASKPASS. 2016-02-24 10:20:48 +09:00
Jorge Bucaran
d86df6ca1e Force Git to fail if the user is not authenticated when cloning unexisting repos. 2016-02-24 09:18:45 +09:00
Jorge Bucaran
e81e77dcbe Add more instrumentation. 2016-02-24 09:18:00 +09:00
Jorge Bucaran
87f0d7f42e Remove debug statements inside __fisher_deps_install to avoid Spin fail. 2016-02-24 08:46:14 +09:00
Jorge Bucaran
e034602bd8 Ignore git stash standard error. 2016-02-24 08:45:53 +09:00
Jorge Bucaran
1f80454f00 Add more instrumentation and more polite error message. 2016-02-23 14:50:20 +09:00
Jorge Bucaran
11db4c2e05 Stash changes and pull rebase to update. Fix #103 2016-02-23 14:47:28 +09:00
Jorge Bucaran
a2739e93fa Remove debug statements inside __fisher_index_update to avoid Spin fail. 2016-02-23 14:45:59 +09:00
Jorge Bucaran
d555f261f9 Add instrumentation using fishery/debug. 2016-02-20 09:57:51 +09:00
Jorge Bucaran
8206a89a46 Use -h instead of --help for consistency w/ other commands. 2016-02-18 16:59:26 +09:00
Jorge Bucaran
90bedbcaf5 Remove scripts directory in favor functions/ or root/
Remove scripts directory in favor of using the functions/ or root
for sharing scripts. Using a scripts directory does not solve the
main problem of sharing scripts with the same name, so this addition
was deemed of little value. In the future, a more robust way to avoid
name collisions when sharing scripts would be nice to have, but at
the moment having a scripts directory is not solving this problem
but just adding clutter to the configuration.

Closes #105.
2016-02-18 06:42:12 +09:00
Jorge Bucaran
617e8af36e Update function description. 2016-02-18 06:41:59 +09:00
Jorge Bucaran
eba89acc27 Update function description. 2016-02-18 06:41:51 +09:00
Jorge Bucaran
ad5abaee70 Add function description. 2016-02-18 06:41:29 +09:00
Jorge Bucaran
bd4fa7ece5 Teach __fisher_plugin_disable any uninstall options, e.g, --force. 2016-02-17 13:58:13 +09:00
Jorge Bucaran
b0a97ffc14 Teach uninstall handler about uninstall options.
+ Now __fisher_plugin_uninstall_handler is aware of a third argument,
`option` that can be used to indicate the event handler or uninstall
file abot any options available in `fisher uninstall`, namely, --force.

+ In addition, the uninstaller mechanism no longer receives the name of
the plugin, as this information is usually already available to plugins
anyway.

+ Finally, a path to the parent directory where the uninstall.fish file
is located is given instead of the full path to the file. Again, the
plugin usually knows the name of the file, `uninstall.fish`.
2016-02-17 13:53:24 +09:00
Jorge Bucaran
93eae8a341 Add new __fisher_help_* functions.
Split help command functionality into individual functions
for cosistent with the way other commands are structured,
and improve tab completion times by skipping the overhead
of calling fisher_help directly.
2016-02-16 17:43:13 +09:00
Jorge Bucaran
11f5b991a3 Remove git -C to improve support in exotic systems. 2016-02-16 14:36:29 +09:00
Jorge Bucaran
320c6f1cf5 Fix bug introduced in 83b84b causing make to not get called. 2016-02-16 12:06:25 +09:00