Skip to content

Releases: CodesOfRishi/navita

Navita - 2.3.10

19 Dec 17:48
Compare
Choose a tag to compare
  • Few refactors.

Navita - v2.3.9

16 Nov 13:45
Compare
Choose a tag to compare
  • Add conditional print statements to notify users only when a data or configuration file or directory is successfully created.
  • Ensure the script returns immediately if an error occurs while creating Navita's data or configuration files and directories.

Navita - v2.3.8

11 Nov 04:10
Compare
Choose a tag to compare
  • Add Exit status information in the help message.
  • Return correct Exit code when no directory match is found.
  • Return relevant Exit code for invalid sub-option with -H and --history.

Navita - v2.3.7

09 Nov 15:14
Compare
Choose a tag to compare
  • Execute Bash program directly in FZF preview during Tab completion, avoiding potential issues with aliases and functions.

Navita - v2.3.6

04 Nov 12:26
Compare
Choose a tag to compare
  • Simplify and enhance full history clean-up to create timestamped backup history files in the format navita-history-YYYY-MM-DDTHH:MM:SS.bak for improved backup management.
  • Fallback to standard Bash completions if no directory path match is found in Bash.

Navita - v2.3.5

30 Oct 19:18
Compare
Choose a tag to compare
  • Close #1: Update NAVITA_DATA_DIR default to use XDG_STATE_HOME over XDG_DATA_HOME
    # To move previous data files from previous/old data directory to the new data directory
    # and remove the Navita's previous/old data directory
    mv path/to/old/data/dir/navita/* $NAVITA_DATA_DIR/.
    mv path/to/old/data/dir/navita/.* $NAVITA_DATA_DIR/.
    rmdir path/to/old/data/dir/navita
  • Fix #2: In Zsh, the >> operator prevents creation of the ignore file.
  • Override noclobber option when redirecting output to files.

Navita - v2.3.4

29 Oct 12:48
Compare
Choose a tag to compare
  • Removed dependency on head and dirname commands to reduce external command calls.
  • Implemented a fix to accurately return the exit code of the flock command.
  • Other refactors related to global variables.

Navita - v2.3.3

28 Oct 16:36
Compare
Choose a tag to compare
  • $NAVITA_DATA_FILE/temp-history and $NAVITA_DATA_FILE/navita_age_last_check files can be removed, since there's no use of it now.
     # remove the obsolete data files
     rm $NAVITA_DATA_FILE/temp-history $NAVITA_DATA_FILE/navita_age_last_check
  • Override noclobber option when redirecting output to utility/data files.
  • Employ a locking mechanism to ensure atomic history updates, preventing race conditions that may arise from concurrent modifications.
  • Use consistent and conventional exit statuses. The following exit statuses are being used:-
    • 0 : Success.
    • 1 : General Error.
    • 64 : The command was used incorrectly, e.g., with the wrong number of arguments, a bad flag, a bad syntax in a parameter, or whatever.
    • 65 : The user's input data was incorrect in some way.
    • 69 : A service is unavailable. This can occur if a support program or file does not exist.
    • 75 : Temporary failure, indicating something that is not really an error. The request should/can be reattempted later.

Navita - v2.3.2

26 Oct 18:26
Compare
Choose a tag to compare
  • Optimize Navita by removing the date command dependency, thereby avoiding subprocess creation and making it faster.
  • A few code refactors.

Navita - v2.3.1

24 Oct 15:41
Compare
Choose a tag to compare
  • Remove cut dependency as it's no longer being used.
  • In the $NAVITA_IGNOREFILE file, keep the regex pattern matching for the home directory before the .git directory. This ensures that the home directory is matched first, as it's typically accessed more frequently than .git directories.