Permalink
Browse files

Release v2.0.2

  • Loading branch information...
2 parents f15fbf7 + 16f3fc2 commit 5a0c2f3aa4bbb28bef486a7a88e4a537eb3b4d6e @desyncr desyncr committed May 20, 2017
Showing with 2,920 additions and 2,058 deletions.
  1. +13 −1 .gitignore
  2. +36 −77 .travis.yml
  3. +129 −2 CHANGELOG.md
  4. +61 −43 Makefile
  5. +177 −116 README.mkd
  6. +1 −1 VERSION
  7. BIN antigen.png
  8. +0 −1 antigen.zsh
  9. +2 −0 antigen.zsh
  10. +862 −817 bin/antigen.zsh
  11. +18 −21 src/_antigen
  12. +8 −19 src/antigen.zsh
  13. +16 −0 src/boot.zsh
  14. +11 −28 src/commands/apply.zsh
  15. +1 −8 src/commands/bundle.zsh
  16. +2 −3 src/commands/bundles.zsh
  17. +11 −0 src/commands/cache-gen.zsh
  18. +21 −20 src/commands/cleanup.zsh
  19. +26 −3 src/commands/help.zsh
  20. +44 −0 src/commands/init.zsh
  21. +0 −6 src/commands/lib.zsh
  22. +4 −8 src/commands/list.zsh
  23. +0 −6 src/commands/prezto-lib.zsh
  24. +31 −32 src/commands/purge.zsh
  25. +11 −0 src/commands/reset.zsh
  26. +3 −1 src/commands/revert.zsh
  27. +2 −2 src/commands/self-update.zsh
  28. +6 −13 src/commands/theme.zsh
  29. +65 −17 src/commands/update.zsh
  30. +1 −1 src/commands/use.zsh
  31. +6 −1 src/commands/version.zsh
  32. +0 −180 src/ext/zcache.zsh
  33. +0 −217 src/ext/zcache/functions.zsh
  34. +27 −0 src/helpers/bundle-rev.zsh
  35. +15 −1 src/helpers/bundle-short-name.zsh
  36. +1 −2 src/helpers/echo-record.zsh
  37. +6 −9 src/helpers/find-record.zsh
  38. +31 −6 src/helpers/get-bundles.zsh
  39. +19 −14 src/helpers/get-clone-dir.zsh
  40. +0 −18 src/helpers/get-clone-url.zsh
  41. +12 −0 src/helpers/get-cloned-bundles.zsh
  42. +1 −1 src/helpers/get-themes.zsh
  43. +24 −0 src/helpers/parse-branch.zsh
  44. +15 −0 src/helpers/parse-bundle-url.zsh
  45. +0 −9 src/helpers/reset-compdump.zsh
  46. +50 −0 src/helpers/update-repos.zsh
  47. +28 −26 src/lib/ensure-repo.zsh
  48. +24 −12 src/lib/env-setup.zsh
  49. +7 −3 src/{helpers → lib}/load-list.zsh
  50. +33 −29 src/lib/load.zsh
  51. +18 −1 src/lib/parse-args.zsh
  52. +3 −8 src/{helpers → lib}/parse-bundle.zsh
  53. +23 −0 src/lib/revert-info.zsh
  54. +2 −2 src/lib/use-oh-my-zsh.zsh
  55. +1 −7 src/lib/use-prezto.zsh
  56. +149 −0 src/lib/zcache.zsh
  57. +8 −4 tests/.antigenrc
  58. +3 −0 tests/.gitconfig
  59. +71 −40 tests/.zshenv
  60. +2 −7 tests/.zshrc
  61. +1 −1 tests/apply.t
  62. +47 −0 tests/arg-parser.t
  63. +1 −1 tests/branch-bundle.t
  64. +0 −53 tests/build-zsh.sh
  65. +29 −8 tests/bundle.t
  66. +13 −1 tests/bundles.t
  67. +36 −82 tests/cache.t
  68. +27 −10 tests/cleanup.t
  69. +45 −0 tests/clone-dir.t
  70. +53 −0 tests/ensure-repo.t
  71. +23 −0 tests/find-record.t
  72. +26 −0 tests/init.t
  73. +66 −8 tests/list.t
  74. +18 −5 tests/no_local_clone.t
  75. +1 −0 tests/purge.t
  76. +2 −2 tests/revert-update.t
  77. +8 −4 tests/selfupdate.t
  78. +3 −2 tests/snapshots.t
  79. +0 −23 tests/stats.sh
  80. +19 −10 tests/theme.t
  81. +27 −3 tests/update.t
  82. +9 −0 tests/use.t
  83. +2 −2 tests/version.t
  84. +82 −0 tools/builder
  85. +120 −0 tools/jail
  86. +121 −0 tools/stats
View
@@ -1,12 +1,13 @@
# Running tests creates this completion dump file.
-tests/.zcompdump*
+.zcompdump*
# Test failure reports
tests/*.t.err
# If the $ADOTDIR is the same as the antigen's clone directory itself, the
# following would be shown as untracked.
repos/
+bundles/
revert-info
# Cache directory for ext/zcache
@@ -19,3 +20,14 @@ revert-info
*.tar.gz
*.tar.gz.sign
+# Ignore compiled zsh files
+*.zwc
+
+# Ignore timestamp file for zcache auto-reset config
+*.timestamp
+
+# cache init
+/init.zsh
+.antigenrc
+.zshrc
+.zcomp*
View
@@ -1,91 +1,50 @@
-sudo: false
-
-# Python version to run tests with.
-python:
- - "2.7"
-
+sudo: required
+dist: trusty
+language: generic
+services:
+ - docker
cache:
pip: true
- apt: true
- directories:
- - $HOME/zsh
- - $HOME/.zsh-builds
- - $HOME/.antigen
-
env:
global:
- - ANTIGEN=$TRAVIS_BUILD_DIR
- - ADOTDIR=$TRAVIS_BUILD_DIR
- - ZSH_REMOTE_URL=https://github.com/zsh-users/zsh.git
- - BUILDS_PATH=$HOME/.zsh-builds
- - ZSH_SOURCE=$HOME/zsh
-
+ - USE_CONTAINER=docker
matrix:
include:
+ - os: osx
+ language: generic
+ env:
+ - USE_CONTAINER=no
- os: linux
- language: python
- env: ZSH_BUILD_VERSION=master
+ env: ZSH_VERSION=zsh-5.3.1
- os: linux
- language: python
- env: ZSH_BUILD_VERSION=zsh-5.3
+ env: ZSH_VERSION=zsh-5.3
- os: linux
- language: python
- env: ZSH_BUILD_VERSION=zsh-5.2
+ env: ZSH_VERSION=zsh-5.2
- os: linux
- language: python
- env: ZSH_BUILD_VERSION=zsh-5.1
+ env: ZSH_VERSION=zsh-5.1.1
- os: linux
- language: python
- env: ZSH_BUILD_VERSION=zsh-5.0.0
+ env: ZSH_VERSION=zsh-5.0.0
- os: linux
- language: python
- env: ZSH_BUILD_VERSION=zsh-4.3.17
+ env: ZSH_VERSION=zsh-4.3.17
- os: linux
- language: python
- env: ZSH_BUILD_VERSION=zsh-4.3.11
- - os: linux
- language: python
- env: ZSH_BUILD_VERSION=zsh-4.3.5
-
-addons:
- apt:
- sources:
- - debian-sid
- packages:
- - shellcheck
-
-install:
- # Install python requirements.
- - "make deps"
-
- # Install shellcheck (osx only)
- - if [ $TRAVIS_OS_NAME == 'osx' ]; then brew install shellcheck; fi
-
- # Install zsh versions from source.
- - "./tests/build-zsh.sh $ZSH_BUILD_VERSION $BUILDS_PATH $ZSH_SOURCE"
-
-before_install:
- # Show system information
- - "uname -a"
-
- # Show the git version being used to test.
- - "git --version"
-
-before_script:
- # Show zsh version being deployed.
- - "$BUILDS_PATH/$ZSH_BUILD_VERSION/zsh --version"
-
- # Test config for git.
- - "git config --global user.name test"
- - "git config --global user.email test@test.test"
-
- # Run shell check
- - "shellcheck ./bin/antigen.zsh --shell=ksh -e SC1036,SC1056,SC1072,SC1073,SC1009,SC1083,SC1046,SC1047"
-
-# Run the tests.
+ env: ZSH_VERSION=zsh-4.3.11
+notifications:
+ webhooks:
+ urls:
+ - "https://webhooks.gitter.im/e/30fdb3abe241aa03af20"
+ on_success: always
+ on_failure: always
+ on_start: always
script:
- - "make tests PYENV= SHELL=$BUILDS_PATH/$ZSH_BUILD_VERSION/zsh"
- - "make stats _ANTIGEN_CACHE_ENABLED=false _ANTIGEN_INIT_ENABLED=false SHELL=$BUILDS_PATH/$ZSH_BUILD_VERSION/zsh"
- - "make stats _ANTIGEN_CACHE_ENABLED=true _ANTIGEN_INIT_ENABLED=false SHELL=$BUILDS_PATH/$ZSH_BUILD_VERSION/zsh"
- - "make stats _ANTIGEN_CACHE_ENABLED=true _ANTIGEN_INIT_ENABLED=true SHELL=$BUILDS_PATH/$ZSH_BUILD_VERSION/zsh"
-
+ - if [ $TRAVIS_OS_NAME == 'osx' ]; then brew install zsh; pip install cram; fi
+ - make info tests stats USE_CONTAINER=$USE_CONTAINER
+
+ # Ensure the checked-in build matches the build produced in CI. Since the CI
+ # will run this on both OS X and Linux, the two platforms must also produce
+ # the same build, else one of them will fail.
+ - SHASUM=$(shasum -a 256 ./bin/antigen.zsh)
+ - VERSION=$(cat ./VERSION) make USE_CONTAINER=$USE_CONTAINER
+ - SHACHECK=$(shasum -a 256 ./bin/antigen.zsh)
+
+ - echo -e "$SHASUM\n$SHACHECK"
+ - test "$SHASUM" == "$SHACHECK"
View
@@ -1,11 +1,107 @@
# CHANGELOG
+
All notable changes to this project will be documented in this file.
-This project adheres to [Semantic Versioning](http://semver.org/).
+This project adheres to [Semantic Versioning](http://semver.org/) [v2.0.0](http://semver.org/spec/v2.0.0.html).
+
+## [2.0.2] - 2017-04-22
+
+### Changed
+- [#521, #515] Update TravisCI Badges' labels
+- [#509] Use "Roadmap" for Trello where possible
+
+### Added
+- [#514] FAQ for dynamic `antigen-theme` usage
+
+### Fixed
+- [#510] Remove possibly destructive command on broken tests
+- [#508, #507] Fix status code non-zero when last command is `antigen` wrapper
+
+Thanks everyone who reported issues and provided feedback.
+
+## [2.0.1] - 2017-04-15
+
+### Changed
+- [#489] Update `CHANGELOG` link to semver documentation
+- [#497, #498] Improve `antigen-list` command performance
+
+### Fixed
+- [#487] Fix documentation regarding `ANTIGEN_CHECK_FILES`
+- [#486, #485] Missing env vars for Oh-My-Zsh
+- [#492, #490] Fix parsing git/ssh URLS
+- [#495, #494] Fix `antigen-theme` command changing CWD
+- [#493, #491] Fix `no-local-clone` flag being ignored
+
+Thanks everyone who reported issues and provided feedback.
+
+## [2.0.0] - 2017-04-08
+
+There are functions and configurations being either removed or renamed, please
+review this document before updating your Antigen installation.
+
+Removed functions:
+
+ - `-antigen-lib` - Deprecated since v1
+ - `-antigen-prezto-lib` - Deprecated since v1
+
+Deprecated configuration:
+
+ - `_ANTIGEN_FORCE_RESET_COMPDUMP`
+ - `_ANTIGEN_RESET_THEME_HOOKS`
+ - `_ANTIGEN_AUTODETECT_CONFIG_CHANGES`
+ - `_ANTIGEN_CACHE_ENABLED`
+ - `_ANTIGEN_COMP_ENABLED`
+
+Renamed configuration:
+
+ - `_ANTIGEN_LOG_PATH` ~> `ANTIGEN_LOG`
+ - `_ANTIGEN_CACHE_PATH` ~> `ANTIGEN_CACHE`
+ - `_ANTIGEN_COMPDUMPFILE` ~> `ANTIGEN_COMPDUMP`
+
+Added configurations:
+
+ - `ANTIGEN_CHECK_FILES` - Use to configure which files to check for changes
+ - `ANTIGEN_SUBMODULE_OPTS` - Use to pass arguments to `git submodule` command
+ - `ANTIGEN_CLONE_OPTS` - Use to pass arguments to `git clone` command
+ - `ANTIGEN_BUNDLES` - Use to configure bundle path location
+ - `ANTIGEN_PREZTO_REPO_URL` - Use to configure Prezto default url
+
+### Removed
+- [#197, #298] Removed `-antigen-lib`, `-antigen-prezto-lib`
+
+### Added
+- [#309] Use `git` shallow cloning to speed up bundle install
+- [#299, #261] Handles `$PATH`
+- [#415] Added link to multiple OS install methods
+- [#423, #262] Support semver-like bundling
+- [#461] Use Docker container for tests and stats generation
+- [#462, #466] Add extended help text for `antigen-help` command
+- [#467, #465] Show version hash on `antgen-version` command
+- [#469] Function to migrate old bundle paths to new format
+- [#464] Update wiki pages for new version
+
+### Changed
+- [#326, #259] Support updating a single bundle
+- [#352] Support `antigen-update` tab completion
+- [#351, #379] Update `Makefile` release tasks
+- [#411, #371, #445] `antigen-list` show version information (tag, branch, git hash)
+- [#420] Support reference cache (vs bundle cache)
+- [#450] Refactor `_ANTIGEN_BUNDLE_RECORD`
+- [#454] Simplify change detection
+- [#457, #460] Change bundle path generation function
+
+### Fixed
+- [#353] `antigen-update` properly handles `--no-local-clone`
+- [#419] Don't require confirmation when cleaning up
+- [#439, #442, #438] Fix `antigen-selfupdate` failing with sym-links
+- [#441, #440] `antigen-init` command checks input
+- [#453, #452] Respect `_ANTIGEN_COMPDUMP` configuration
+
+Thanks everyone who reported issues and provided feedback.
## [1.4.1] - 2017-02-26
### Changed
-- [#402, #409] `antige-use` command handle library url
+- [#402, #409] `antigen-use` command handle library url
- [#404, #408] Update README.md with new antigen-related articles
### Fixed
@@ -321,6 +417,7 @@ This setup further improves cache performance (`~0.02s`). It's fully optional.
- [#162] Fix issue with antigen update after revert
## [1.0.4] - 2016-08-27
+
### Added
- [#188] Add CONTRIBUTING.md to documentation
- [#183] Update README.md to use rawgit in examples
@@ -334,15 +431,45 @@ This setup further improves cache performance (`~0.02s`). It's fully optional.
- [#169] Load Antigen's own completions at load time
## [1.0.3] - 2016-08-20
+
### Changed
- [#172] Fix TravisCI configuration
## [1.0.2] - 2016-08-11
+
### Changed
- [#168] Update README.md example code thanks to @chadmoore
## [1.0.1] - 2016-07-21
+
### Added
- [#141] Performance improvements thanks to @outcoldman
- Added CHANGELOG.md
- Following [Semantic Versioning](http://semver.org/)
+
+[2.0.2]: https://github.com/zsh-users/antigen/compare/v2.0.1...v2.0.2
+[2.0.1]: https://github.com/zsh-users/antigen/compare/v2.0.0...v2.0.1
+[2.0.0]: https://github.com/zsh-users/antigen/compare/v1.4.1...v2.0.0
+[1.4.1]: https://github.com/zsh-users/antigen/compare/v1.4.0...v1.4.1
+[1.4.0]: https://github.com/zsh-users/antigen/compare/v1.3.5...v1.4.0
+[1.3.5]: https://github.com/zsh-users/antigen/compare/v1.3.4...v1.3.5
+[1.3.4]: https://github.com/zsh-users/antigen/compare/v1.3.3...v1.3.4
+[1.3.3]: https://github.com/zsh-users/antigen/compare/v1.3.2...v1.3.3
+[1.3.2]: https://github.com/zsh-users/antigen/compare/v1.3.1...v1.3.2
+[1.3.1]: https://github.com/zsh-users/antigen/compare/v1.3.0...v1.3.1
+[1.3.0]: https://github.com/zsh-users/antigen/compare/v1.2.4...v1.3.0
+[1.2.4]: https://github.com/zsh-users/antigen/compare/v1.2.3...v1.2.4
+[1.2.3]: https://github.com/zsh-users/antigen/compare/v1.2.2...v1.2.3
+[1.2.2]: https://github.com/zsh-users/antigen/compare/v1.2.1...v1.2.2
+[1.2.1]: https://github.com/zsh-users/antigen/compare/v1.2.0...v1.2.1
+[1.2.0]: https://github.com/zsh-users/antigen/compare/v1.1.4...v1.2.0
+[1.1.4]: https://github.com/zsh-users/antigen/compare/v1.1.3...v1.1.4
+[1.1.3]: https://github.com/zsh-users/antigen/compare/v1.1.2...v1.1.3
+[1.1.2]: https://github.com/zsh-users/antigen/compare/v1.1.1...v1.1.2
+[1.1.1]: https://github.com/zsh-users/antigen/compare/v1.1.0...v1.1.1
+[1.1.0]: https://github.com/zsh-users/antigen/compare/v1.0.4...v1.1.0
+[1.0.4]: https://github.com/zsh-users/antigen/compare/v1.0.3...v1.0.4
+[1.0.3]: https://github.com/zsh-users/antigen/compare/v1.0.2...v1.0.3
+[1.0.2]: https://github.com/zsh-users/antigen/compare/v1.0.1...v1.0.2
+[1.0.1]: https://github.com/zsh-users/antigen/compare/v1...v1.0.1
+
Oops, something went wrong.

0 comments on commit 5a0c2f3

Please sign in to comment.