Skip to content

Commit

Permalink
Merge pull request #57 from tongson/misc_20240601
Browse files Browse the repository at this point in the history
Various improvements
  • Loading branch information
tongson authored Jun 3, 2024
2 parents e466a16 + 18485d8 commit a450dbe
Show file tree
Hide file tree
Showing 31 changed files with 56 additions and 254 deletions.
Empty file removed .test/.files/tmp/XXX
Empty file.
4 changes: 0 additions & 4 deletions .test/.lib/000-header.sh

This file was deleted.

9 changes: 0 additions & 9 deletions .test/.lib/001-trap.sh

This file was deleted.

83 changes: 0 additions & 83 deletions .test/.lib/799-dispatch.sh

This file was deleted.

39 changes: 0 additions & 39 deletions .test/Makefile

This file was deleted.

1 change: 0 additions & 1 deletion .test/TASK

This file was deleted.

9 changes: 0 additions & 9 deletions .test/test/args1/script

This file was deleted.

1 change: 0 additions & 1 deletion .test/test/args1/shell

This file was deleted.

7 changes: 0 additions & 7 deletions .test/test/args2/script

This file was deleted.

1 change: 0 additions & 1 deletion .test/test/args2/shell

This file was deleted.

4 changes: 0 additions & 4 deletions .test/test/args3/script

This file was deleted.

1 change: 0 additions & 1 deletion .test/test/args3/shell

This file was deleted.

7 changes: 0 additions & 7 deletions .test/test/args4/script

This file was deleted.

1 change: 0 additions & 1 deletion .test/test/args4/shell

This file was deleted.

16 changes: 0 additions & 16 deletions .test/test/args6/script

This file was deleted.

1 change: 0 additions & 1 deletion .test/test/args6/shell

This file was deleted.

4 changes: 0 additions & 4 deletions .test/test/fail/script

This file was deleted.

1 change: 0 additions & 1 deletion .test/test/fail/shell

This file was deleted.

3 changes: 0 additions & 3 deletions .test/test/files/script

This file was deleted.

1 change: 0 additions & 1 deletion .test/test/files/shell

This file was deleted.

2 changes: 0 additions & 2 deletions .test/test/remote_files/script

This file was deleted.

1 change: 0 additions & 1 deletion .test/test/remote_files/shell

This file was deleted.

10 changes: 0 additions & 10 deletions .test/test/repaired/script

This file was deleted.

1 change: 0 additions & 1 deletion .test/test/repaired/shell

This file was deleted.

12 changes: 12 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
#### 2.1.0

Degraded Mastiff

* Colorized `rrl` output
* Changed `rrl` headers
* Changed `OP` to `LOG` environment variable
* Removed reading from `OP` file feature
* Added `.ssh/config` and `ssh_config` as valid hosts files
* Changed terminal log line color to cyan
* Various code fixes and improvements

#### 2.0.1

Hypnotic Antennae
Expand Down
12 changes: 8 additions & 4 deletions constants.go → const.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
package main

const cVERSION = "2.0.1"
const cCODE = "\"Hypnotic Antennae\""
const cVERSION = "2.1.0"
const cCODE = "Degraded Mastiff"

const cOP = "LOG"
const cINC = "VARS"
const cHOSTS = "HOSTS"
const cHOSTS0 = ".ssh/config"
const cHOSTS1 = "ssh_config"
const cHOSTS2 = "HOSTS"
const cLOG = "LOG"
const cREPAIRED = "__REPAIRED__"
const cRUN = "script"
Expand All @@ -18,11 +20,13 @@ const cSTDERR = " ┌─ stderr"
const cSTDDBG = " ┌─ debug"
const cFOOTER = " └─"

const cANSI = "\n\033[1A\033[K\033[38;2;85;85;85m%s\033[0m"
const cANSI = "\x1b[0036m%s\x1b[0000m"

const cTARC = "--no-same-owner --no-same-permissions"
const cTARX = "--no-same-owner --no-same-permissions --no-overwrite-dir --no-acls --no-selinux --no-xattrs --touch"

const oJson int = 0
const oTerm int = 1
const oPlain int = 2

const eUNSPECIFIED = "You must specify the `namespace:script`"
Loading

0 comments on commit a450dbe

Please sign in to comment.