aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add GPL commentsGravatar Tom Willemsen2012-07-312-0/+37
|
* Add relative directory parsingGravatar Tom Willemsen2012-07-316-8/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As of now, when using `-r' or `-R', relative directories can be used. This *does not* include locations starting with `~', those still need to be handled by your shell. Because every repo is treated as a possible relative path, and thus passed on to `realpath', the paths have become very uniform. This means that it will now only register and unregister paths that don't have a trailing `/'. This is not true during usage, so those paths still work, but they can't be removed by gitto, and adding them again will create a duplicate entry. * gitto/Makefile (objects): Add `path.scm' and `path.go'. (.PHONY): Add `all' as a phony target. (all): New target, compiles all `.go' targets. ($(filter %.go,$(objects))): Use `env' to run guild so that include paths are setup properly. * gitto/main.scm (gitto): Use new `(gitto path)' module, it contains the `realpath' function. (register-repository): (remove-repository): Always pass REPOSITORY through `realpath' and use the result. * gitto/path.scm: New file. Loads the `libguile-gitto-path' extension and exports its `realpath' function. * src/Makefile (CFLAGS): (LDFLAGS): Use `pkg-config' to gather the necessary values for guile. (libguile-gitto-path.so): New guile extension, wraps the `readline' POSIX function. * src/gitto-path.c: New file, wraps and exports the `realpath' POSIX function from `stdlib.h'.
* Fix unterminated variable referenceGravatar Tom Willemsen2012-07-311-1/+1
|
* Seperate settings to envGravatar Tom Willemsen2012-07-312-3/+8
| | | | | | | | | | Set environment settings in `env' and have `run-gitto' use it, this makes it easy for other commands (like make) to utilize this as well. * env: New file, set environment variables needed to do anything with gitto outside of an installed state. * run-gitto: Move environment settings to `env' and just run it.
* Update/add docstringsGravatar Tom Willemsen2012-07-081-2/+12
|
* Use guild, not guile toolsGravatar Tom Willemsen2012-07-041-1/+1
| | | | | `guile-tools' only still exists for compatibility with guile-1.8, but it has been renamed to `guild'.
* Compile main.go before installingGravatar Tom Willemsen2012-07-041-1/+1
|
* Add GPL license and necessary commentsGravatar Tom Willemsen2012-07-013-1/+715
|
* Shorten lineGravatar Tom Willemsen2012-07-011-1/+2
|
* Make installation a bit betterGravatar Tom Willemsen2012-07-011-5/+7
| | | | | Installation now goes into the official site directories for guile, both for *.go as *.scm.
* Handle brand-new repositories betterGravatar Tom Willemsen2012-07-011-9/+14
| | | | | | stderr from the underlying git process was not being redirected/ignored properly, now somewhat more. If EOF is encountered when asking for the last update date it is shown as "never".
* Sort repositoriesGravatar Tom Willemsen2012-07-011-1/+7
| | | | | Upon saving, sort the repositories alphabetically by `basename'. When `-l' is provided sort before output by location.
* Add Last update to normal outputGravatar Tom Willemsen2012-07-011-4/+11
| | | | | | | When viewing the status of your repositories you will now see also when your last update to the upstream branch was. If you have not fetched or pulled the latest changes from your upstream, this will not be accurate.
* Minor style changeGravatar Tom Willemsen2012-07-011-24/+23
|
* Add switch to list saved repository locationsGravatar Tom Willemsen2012-07-011-2/+12
|
* It seems github only knows .markdownGravatar Tom Willemsen2012-07-011-0/+0
|
* Update READMEGravatar Tom Willemsen2012-07-012-8/+73
|
* Reserve 15 columns for namesGravatar Tom Willemsen2012-07-011-1/+1
| | | | | Align data about a repository at 15 characters, for now. Looks a little bit cleaner.
* Add Makefiles, utilityGravatar Tom Willemsen2012-07-017-7/+72
| | | | | | Change the directory structure and add a bunch of Makefiles to make it easy to install gitto. Also add a utility to run gitto in its current state.
* Use normal guile executableGravatar Tom Willemsen2012-06-301-1/+1
| | | | | My guile-2.0 was located in a somewhat strange place, I've fixed this now.
* Don't force XDG_DATA_HOMEGravatar Tom Willemsen2012-06-301-2/+5
| | | | | | Now, when XGD_DATA_HOME is empty, it should default to `~/.gitto/' for `data-dir', the old way didn't quite work since the `mkdir' function doesn't translate `~/' to HOME.
* Minor style adjustmentsGravatar Tom Willemsen2012-06-301-11/+10
|
* Add remove functionGravatar Tom Willemsen2012-06-301-1/+15
| | | | | When using this program it might happen that you have added a repository that you would like to have removed, now that is possible.
* Woops, forgot to change that nameGravatar Tom Willemsen2012-06-301-2/+2
|
* Initial commitGravatar Tom Willemsen2012-06-302-0/+115