Fugitive, blogging for hackers
gitorious.org
gitorious.org
Edit: [1] by that I mean that once you have used fugitive to setup your repository, you don't need fugitive anymore, you just use git as usual.
As far as "embracing git" goes I am not sure what you think ikiwiki does not embrace:
$ ikiwiki --setup /etc/ikiwiki/auto-blog.setup
$ git clone $BLOGREPO foo
$ cd foo
$ emacs index.mdwn
$ git add index.mdwn
$ git commit -m "this blog fully embraces git"
Gitit is another option especially appealing if you like pandoc and/or haskell.It's always good to have more choices :-).
Good luck with your project.
All I meant was that it was yet another great piece of software written by joey:
* etckeeper (/etc under git)
* git-annex (dark git magic that i am only starting to fully appreciate)
* moreutils (growing collection of the Unix tools that nobody thought to write long ago, when Unix was young)
* tons of trivial debian infrastructure like debian-installer, tasksel, debhelper:)
PS: I never assumed that you were implying something negative about my code.
diff --git a/build.sh b/build.sh
index 854aeb6..4e1c80f 100755
--- a/build.sh
+++ b/build.sh
@@ -2,11 +2,12 @@
include_file() {
f=`echo -n $2 | sed 's/\//\\\\\//g'`
- tmp=`mktemp`
+ tmp=`mktemp helloXXXXXX`
cat "$2" | gzip | base64 > "$tmp"
cat "$1" | sed "/#INCLUDE:$f#/ {
r $tmp
- d }"
+ d
+ }"
rm "$tmp"
}Luckily the changes you suggest seems to also work with the GNU coreutils, so I'll apply them everywhere (there's a lot of call to mktemp and another similar sed call in the hooks). Thanks :-).
Edit: It's done, I credited you as the author of the commit (see here: http://gitorious.org/fugitive/fugitive/commit/00626055595612...).
Thanks :)
I'd have sent you a merge request but I don't have a gitorious account.
There's already a git repository here, aborting install.
Why? I already have my site in a git repo, I want to install fugitive onto it instead of a new one? :)
will look into it later.
You know what it would be easier to have fugitive only warn and ask for confirmation if there's already a git repos. Doing that right now.
EDIT: Done. You can update fugitive source using `git pull` and then rebuild the install script with `./build.sh`.
Have you thought of supporting what Wordpress calls "pages"?
That way it could be used for more generic CMS tasks, having one template file for both pages and articles.
If you need some help to do it I'll be glad to help.