bamboo 2010.1.26 → 2010.2.25
raw patch · 6 files changed
+64/−6 lines, 6 filesdep −base64-stringPVP ok
version bump matches the API change (PVP)
Dependencies removed: base64-string
API changes (from Hackage documentation)
Files
- Nemesis +1/−1
- bamboo.cabal +6/−3
- changelog.md +13/−0
- readme.md +7/−2
- scripts/mkentry.sh +30/−0
- scripts/post-receive +7/−0
Nemesis view
@@ -64,7 +64,7 @@ where ghci n x = task n - sh - "ghci -isrc src/" ++ x ++ ".hs" bin n x = task n - do- sh - "ghc --make -Wall -threaded -O1 -isrc src/" ++ x ++ ".hs -o .bin/" ++ n+ sh - "ghc --make -Wall -threaded -O1 -hide-package monads-fd -isrc src/" ++ x ++ ".hs -o .bin/" ++ n sh - "echo done.." sh - ".bin/" ++ n
bamboo.cabal view
@@ -1,5 +1,5 @@ Name: bamboo-Version: 2010.1.26+Version: 2010.2.25 Build-type: Simple Synopsis: A blog engine on Hack License: GPL@@ -10,7 +10,11 @@ Cabal-version: >= 1.2 category: Web homepage: http://github.com/nfjinjing/bamboo/tree/master-data-files: readme.md, changelog.md, Nemesis+data-files: readme.md+ , changelog.md+ , Nemesis+ , scripts/mkentry.sh+ , scripts/post-receive library ghc-options: -Wall -fno-warn-orphans @@ -24,7 +28,6 @@ , time , unix , bytestring- , base64-string , zlib , directory , filepath
changelog.md view
@@ -1,3 +1,16 @@+2010.25+---------+++### Feature (in git repo)++* add post in shell: scripts/mkentry.sh, thanks to Григорий Холомьёв+* demo post receive hook update remote repo: scripts/post-receive++### Fix ++* clean up deps+ 2010.1.1 --------
readme.md view
@@ -1,8 +1,13 @@-# Bamboo: a simple blog engine on hack+# Bamboo: a blog engine on hack + Bamboo is a port of [Panda](http://github.com/nfjinjing/panda/tree), but runs on top of Hack. It's an experimental project but quite portable. -Only supports GHC <= 6.10.4 for now.+## Note++The Bamboo codebase is a mess!!! But Haskell is so reliable that left me no incentive to do a rewrite.++So just use it, build middleware for it, or better yet write a new blog engine so everyone can benefit :) ## Features
+ scripts/mkentry.sh view
@@ -0,0 +1,30 @@+#!/bin/bash++# Григорий Холомьёв showed us how to add post from a shell++echo -n "Blog entry title: "++read title++echo "Recording \"$title\""++entry="$(date +%y-%m-%d) $title"+cat >> "blog/$entry"++echo -e "\nWell done!\n"++echo "Now you can choose tags for you entry $entry one per line."+echo "There are some tags within your db:"+ls tag++while read tag+do+ if [[ $tag == "" ]]; then+ break;+ fi++ echo $entry >> "tag/$tag"+ git add "tag/$tag"+done++git add "blog/$entry"
+ scripts/post-receive view
@@ -0,0 +1,7 @@+# create another branch+# then whenever a push is made to master,+# current branch is merged with master++cd ..+env -i git merge master+