8000 Releases · nb-twy/ParkDirectories · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Releases: nb-twy/ParkDirectories

Version 2.0.1

24 Sep 03:39
Compare
Choose a tag to compare

Fix bugs related to missing return statements

  • Add the return statements where execution should abort early
  • Inlcude return codes specific to the situation
  • Add a markdown file that describes the return codes

Version 2.0.0

22 Sep 05:27
5f38954
Compare
Choose a tag to compare

Autocomplete

The most significant update in this release is the addition of autocomplete capabilities. With a <tab> or two, the user is able to autocomplete short and long option names, the parked reference names, paths relative to the target directory, and standard files.

Support for Old Log File Location Removed

The location of the installation log file was changed months ago. After a long wait, there is no longer support for the old file location.

Bug Fix

Replace the exit statement with return in the active script (pd.sh) so that the terminal session does not exit when a script failure occurs.

Version 1.6.0

07 Jun 20:01
Compare
Choose a tag to compare

Enhancements

This release adds a simple enhancement. When the list of parked directories is empty, instead of showing three empty lines, it displays No directories have been parked yet.

Version 1.4.0

06 Jun 04:26
b714aad
Compare
Choose a tag to compare

Admin

I added the BSD 3-Clause license so that the community will know how it can use Park Directories and its source code.

Enhancements

  1. Add the ability to export the current list of parked directories to a file specified by the user (Issue #28)
    pd -e my-pd-backup.txt
  2. Add the ability to import a list of parked directories from a user-specified file. (Issue #8)
    • You can append the imported list to the current list: pd -i --append my-parked-directories.txt
    • You can overwrite the current list with the imported list with an interactive session pd -i my-parked-directories.txt
    • You can overwrite the current list with the imported list without any interaction pd -i --quiet my-parked-directories.txt

Version 1.5.1

07 Jun 02:19
Compare
Choose a tag to compare

Fixes

Update README file with information and an example detailing the ability to initialize the data file with a user specified file.

Version 1.5.0

07 Jun 01:15
Compare
Choose a tag to compare

Enhancements

When Park Directories is installed, the data file (located, by default, at $HOME/.pd-data) is initialized. By default, it is initialized without any content. With this release, the user has an option to import a file during installation. The command looks like this:
./install.sh -i my-parked-directories.txt
The file specified is copied to the $HOME/.pd-data and is not checked for proper formatting. I intend to add format checking in a later release. For now, this can be useful when the export feature is used, providing the user with a properly formatted set of parked directories. They can then use the exported file to set up a new environment in another VM or on another host, for example.

Version 1.3.0

05 Jun 08:56
f80161e
Compare
Choose a tag to compare

Enhancements

  1. Add Code of Conduct
  2. Move installation log file from the local repository directory to $HOME/.pd.log (Issue #26)
  3. Report PD version (Issue #1)
  4. Catch unknown CLI options and reject ref names that start with - (Issue #36)

Bug Fixes

  1. Exit with system error when running pd -l immediately after installation (Issue #32)

Version 1.2.0

04 Jun 06:29
Compare
Choose a tag to compare

Enhancements

  1. Provide user feedback when an addition is successful (Issue #4)
    $ pd -a dev
    Added: dev --> /home/user/dev
  2. Provide user feedback when a removal is successful (Issue #14)
    $ pd -d dev
    Removed: dev --> /home/user/dev
  3. Replace exit with return in pd.sh so that exit codes work properly (Issue #16)
  4. Verify installation of Park Directories (Issue #6)
    Valid Installation
    Checking for installed components of Park Directories...
    ✔  Installation log file located @ /home/user/dev/ParkDirectories/pd.log
    ✔  Installation log file parsed.
    ✔  Executable @ /home/user/pd.sh
    ✔  Function active: pd
    ✔  Data file @ /home/user/.pd-data
    ✔  Bootstrap code located in /home/user/.bashrc
    All components are installed as expected.
    Partial Installation
    Checking for installed components of Park Directories...
    ✔  Installation log file located @ /home/user/dev/ParkDirectories/pd.log
    ✔  Installation log file parsed.
    ❌  Executable could not be located. Expected @ /home/user/pd.sh
    ✔  Function active: pd
    ❌  Data file could not be located. Expected @ /home/user/.pd-data
    ✔  Bootstrap code located in /home/user/.bashrc
    Park Directories is only partially installed.
    Please review the list above and refer to the README for possible solutions.
  5. In-place upgrade allows replacement of pd.sh with new version without affecting parked directories list or other installed components (Issue #6)
    $ ./install.sh -u
    Updating Park Directories...
    
    Checking for installed components...
    Park Directories seems to be installed properly.
    Continuing with update...
    Update complete.
    
    $ source ~/.bashrc
  6. Add a directory with the full path to the directory (Issue #3)
    $ pd -a log /var/log
    Added: log --> /var/log
  7. Allow multiple actions in a single execution (Issue #24)
    $ pd -d proj -d dbg -d rel -a proj -a dbg /home/user/dev/myproject/bin/debug -a rel /home/user/dev/myproject/bin/release -l
    proj -- No parked directory with that name
    dbg -- No parked directory with that name
    rel -- No parked directory with that name
    Added: proj --> /home/user/dev/myproject
    Added: dbg --> /home/user/dev/myproject/bin/debug
    Added: rel --> /home/user/dev/myproject/bin/release
    
    proj /home/user/dev/myproject
    dbg /home/user/dev/myproject/bin/debug
    rel /home/user/dev/myproject/bin/release
    
  8. Ensure that reference names do not contain a forward slash '/' (Issue #29)
    $ pd -a proj/dbg
    ERROR: Reference name may not contain '/'

Bug Fixes

  1. Require at least one argument after -a option (Issue #15)
0