Store gnome eg
(a simple and coherent git cli wrapper in perl) at github.
The original eg
project was available here, unfortunately these URLs ceased to work:
- main page: https://people.gnome.org/~newren/eg/
- downloads: https://people.gnome.org/~newren/eg/download/
- online docs: https://people.gnome.org/~newren/eg/documentation/
You can be lucky with archive.org:
- https://web.archive.org/web/20190410220051/https://people.gnome.org/~newren/eg/
- https://web.archive.org/web/20190410220051/https://people.gnome.org/~newren/eg/download/
- https://web.archive.org/web/20190410220051/https://people.gnome.org/~newren/eg/documentation/
The gitorious repo (https://gitorious.org/projects/eg) unfotunately ceased to work, too.
This repo picks the last version (1.7.5.2) of eg, and tries to keep it
- as simple as it was (i don't expect any feature upgrades)
- correct smaller problems if arised
- "Unescaped left brace in regex is deprecat..."
With newer perl versions eg gives annoying warnings:
[xxx@yyy ~]$ eg version
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/^stash\@{ <-- HERE [^{]+}$/ at ./eg line 5861.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(stash\@{ <-- HERE [^}]+}): (?:WIP )?[Oo]n [^:]*: (?:[0-9a-f]+\.\.\. )?/ at ./eg line 5926.
eg version 1.7.5.2
git version 2.5.5
This can be corrected with two pairs of backslash:
5861c5861
< if ($stash_description =~ m#^stash\@{[^{]+}$# ||
---
> if ($stash_description =~ m#^stash\@\{[^{]+\}$# ||
5926c5926
< qr#(stash\@{[^}]+}): (?:WIP )?[Oo]n [^:]*: (?:[0-9a-f]+\.\.\. )?#;
---
> qr#(stash\@\{[^}]+\}): (?:WIP )?[Oo]n [^:]*: (?:[0-9a-f]+\.\.\. )?#;
We give it a new version number 1.7.5.3, too.
- checked
eg
on fedora 39, git 2.45.2 w/ perl 5 version 38 - still OK. - corrected some typos in the README
- replaced source URL-s with archive.org URLs