From 803e9a1503b881f8ce8a3256bff99ef1e2b23384 Mon Sep 17 00:00:00 2001 From: arcan1s Date: Sun, 12 Jan 2014 06:16:22 +0400 Subject: [PATCH] + added git-etc page + added icon * small edit --- 404.html | 1 + blog/main.html | 7 +- index.html | 1 + pages/about.html | 3 +- pages/projects.html | 15 ++-- projects/git-etc.html | 156 ++++++++++++++++++++++++++++++++++++++++++ resources/icon.ico | Bin 0 -> 10462 bytes 7 files changed, 172 insertions(+), 11 deletions(-) create mode 100644 projects/git-etc.html create mode 100755 resources/icon.ico diff --git a/404.html b/404.html index 225f968..5bfe305 100644 --- a/404.html +++ b/404.html @@ -7,6 +7,7 @@ + + + +
+
+

git-etc

+

Simple daemon for monitoring changes in files

+
+
+ +

Information

+

Simple daemon that automatically creates git repository in the given directory and creates commit at the specified time interval.

+
$ git-etc --help
+Simple daemon written on BASH for monitoring changes in files
+
+Usage: git-etc [ -c | --config /etc/git-etc.conf ] [ -h | --help ] [ -v | --version ]
+
+Parametrs:
+  -c  --config      - path to configuration file
+  -h  --help        - show this help and exit
+  -v  --version     - show version and exit
+
+See "man 1 git-etc" for more details
+
$ ctrlconf --help
+GUI for git-etc daemon
+
+Usage: ctrlconf [ --default ] [ -h | --help ] [ -v | --version ]
+
+Additional parametrs:
+      --default     - create default configuration file
+  -h  --help        - show this help and exit
+  -v  --version     - show version and exit
+
+See "man 1 ctrlconf" for more details
+ +

Developers and contributors

+
    +
  • Evgeniy Alekseev
  • +
+ +

License

+
    +
  • GPLv3
  • +
+ +

Installation

+ +

Instruction

+
    +
  • Download an archive with latest version of source files.

  • +
  • Extract it and install the application:

    +
    ./install.sh "/path/to/root/package"
    +

    If you want install it to / you must run it as root, e.g.:

    +
    sudo ./install.sh "/path/to/root/package"
    +

    If no path is specified it will be installed to / by default.

  • +
+ +

Dependencies

+

I want note that all were tested on latest version of dependencies.

+
    +
  • Bash (including awk, grep, sed)
  • +
  • git
  • +
  • python2 (make)
  • +
  • systemd (optional, service file)
  • +
  • python2-pyqt4 (optional, GUI)
  • +
  • xterm (optional, GUI)
  • +
+ +

How to use

+

If you want to start the daemon into /etc just run

+
systemctl start git-etc
+

If you want to enable daemon autoload run

+
systemctl enable git-etc
+

But you may change path to configuration file or change parameters. To do it just copy (recommended) the source configuration file to new path

+
cp /etc/git-etc.conf /new/path/to/file/git-etc.conf
+

and edit it. Then copy the source service file to /etc:

+
cp /usr/lib/systemd/system/git-etc.service /etc/systemd/system/git-etc-my-profile.service
+

Replace following string in the file:

+
ExecStart=/usr/bin/git-etc -c /etc/git-etc.conf
+

to

+
ExecStart=/usr/bin/git-etc -c /new/path/to/file/git-etc.conf
+ +

Configuration

+

All settings are stored in /etc/git-etc.conf. After edit them you must restart daemon

+
systemctl restart git-etc
+ +

Options

+ + + + + + + + + + + + + + + + + +
DIRECTORY

Full path to working directory with observed files. Default is /etc.

TIMESLEEP

Time interval between updates. It must be integer and >= 1. Default is 12.

IGNORELIST

List of files that will not be observed. Separator is ";;". May be empty.

FORALL

1 will enable access for normal user. Default is 1.

+ +

Graphical user interface

+

Control Config (ctrlconf) is GUI for git-etc daemon written on Python2/PyQt4. This application allows you to view a list of commits and changes in files recorded in commit messages. Also, this application allows you to roll back to a specific commit all files (git reset --hard) or individual files (git diff && git apply). And you may merge old and new configuration files (used two branches repository - master and experimental). The application may need root privileges. Make sure that sudo package is installed.

+ +

Configuration

+

Just run the application and open the settings window from menu!

+ +

Screenshots

+

(Screenshots in Russian, but GUI has English translation.)

+

Main window:
+
+About window:
+
+Commit changes window:
+
+Merging window:
+
+Roll back window:
+

+ +

Links

+ + +
+ +
+ + + + diff --git a/resources/icon.ico b/resources/icon.ico new file mode 100755 index 0000000000000000000000000000000000000000..7a3a974b570efb847779d3ac3bbdf64fdc17cb9c GIT binary patch literal 10462 zcmeHN=YJLDy3PG`@9_vyLPC1m$xgD<2_+yP$U&NdA|i-1L6Dy!AX1I=-b)A|2uKkU zS_q^!K(QXX*cDNFM~|NSY2CG+nc;BHUvNKM{k_cIvuEC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