debian/0000755000000000000000000000000011437123333007166 5ustar debian/compat0000644000000000000000000000000211417343401010362 0ustar 7 debian/flashbakeall.10000644000000000000000000000160011417343401011654 0ustar .\" -*- nroff -*- .TH FLASHBAKEALL 1 "June 30, 2010" .SH NAME flashbakeall \- runs flashbake recursively .SH SYNOPSIS .B flashbakeall [options] [quiet_min] .SH DESCRIPTION \fBflashbakeall\fP runs .IR flashbake (1) recursively under \fBsearch_root\fP, finding projects inside and running flashbake on them. .PP \fBquiet_min\fP is a parameter which is passed to .IR flashbake (1) which tells it to only commit changes to files in the project that have not been changed in the last quiet_min minutes. Setting this to 0 or omitting this disables the quiet period and flashbake immediately commits all changes when run. .PP [\fBoptions\fP] are passed to the flashbake command directly. .SH SEE ALSO \&\fIflashbake\fR\|(1) .SH AUTHOR Written by Thomas Gideon. .PP This manual page was written by Abhishek Dasgupta , for the Debian project (but may be used by others). debian/flashbake.10000644000000000000000000001302311420041300011150 0ustar .\" -*- nroff -*- .TH FLASHBAKE 1 "June 30, 2010" .SH NAME flashbake \- automated snapshots with git .SH SYNOPSIS .B flashbake [options] [quiet_min] .SH DESCRIPTION \fBflashbake\fP is a tool which watches files and automatically checks them in to a git repository. The commit lines can be customised. It is meant to be run from a cron job (see .IR crontab (5) ). Thus it simplifies life for user by taking off the burden of manually committing changes and allowing one to focus on the work. .PP \fBquiet_min\fP is a parameter to flashbake which tells it to only commit changes to files in the project that have not been changed in the last quiet_min minutes. Setting this to 0 or omitting this disables the quiet period and flashbake immediately commits all changes when run. .PP One of the nice features of flashbake is its generation of automatic commit messages using its plugin system. flashbake's plugins can pull in data from various sources including your microblogging feeds, uptime, weather etc. and use that to generate the commit message. .PP If you are new to flashbake, check out the \fBCONFIGURATION\fP and \fBUSAGE\fP sections below for more information; you can also check the wiki (address given in \fBSEE ALSO\fP). .SH OPTIONS flashbake follows the usual GNU command line syntax, with long options starting with two dashes (`\-'). A summary of options is included below. For a complete description, see the online documentation. .TP .B \-\-version show version number and exit .TP \fB\-h\fR, \fB\-\-help\fR show summary of options. .TP \fB\-c\fR, \fB\-\-context\fR just generate and show the commit message, don't check for changes. .TP \fB\-v\fR, \fB\-\-verbose\fR include debug information in the output, useful for reporting problems. .TP \fB\-q\fR, \fB\-\-quiet\fR disable all output except errors .TP \fB\-d\fR, \fB\-\-dryrun\fR do not change anything, just show what flashbake would do if executed without the \-d option (dry run). .TP \fB\-p\fR PLUGIN_DIR, \fB\-\-plugins\fR=PLUGIN_DIR specify an additional location for plugins .TP \fB\-r\fR, \fB\-\-purge\fR purge any files that have been deleted from source control .SH CONFIGURATION flashbake is quite easy to setup and does not require knowledge of git internals. As flashbake requires a git repository, you must create a git repository for the folder you wish to track by cd'ing into the folder and typing \fBgit init\fP (if you have not done so already). .PP flashbake configuration is done through a \fB.flashbake\fP file in the project directory. Global options for flashbake can be specified in \fB~/.flashbake/config\fP where ~ refers to the home directory (like /home/joe on Linux or /Users/joe on Mac OS X). If the ~/.flashbake/config file is present then it will get read first, followed by the project specific version. .PP flashbake tracks changes to only specific files which it terms as \fBhot files\fP. You have to specify these hot file names in the \fB.flashbake\fP file which should be created in the project directory. Wildcards which are used in the shell can be used, like ? for matching a single character, * for matching any number of characters and [] for ranges of characters ([0\-9] would match a single digit from 0 to 9 in a filename). .SH EXAMPLE Here follows an example .flashbake file (taken from the wiki), with explanatory comments. .nf # this enables the feed plugin plugins:flashbake.plugins.feed:Feed # these three lines are used by the feed plugin, see the Plugins page for # more info feed_url:http://www.mysite.com/feed # author is optional feed_author:Joe Random # limit is optional, defaults to 5 if unused feed_limit:3 # this line is optional, omit it to disable email notice_to:joe@mysite.com # alternately, if you set up an ssh tunnel, you can set this and send # through # the tunnel #smtp_port:5002 # hot files todo.txt my_novel.txt extra/character_notes.txt extra/story_bible.txt .fi Any line beginning with # is a comment, of course. The notice_to: specifies an email address to mail when flashbake encounters some problems with a hot file. This functionality is not mandatory and you can comment notice_to: out to disable it. .SH USAGE This section shows some typical usage patterns of flashbake. .PP If you run .PP .nf flashbake \-c ~/my_novel .fi .PP flashbake will not commit any changes, rather it will show you the commit message it would generate if run normally. This is useful for checking that you’ve entered the options in the control file correctly and checking the commit message content. .PP Running .PP .nf flashbake \-d ~/my_novel .fi .PP would make flashbake do a dry run, and it will do everything except actually updating the repository. .PP One of the most common ways to run flashbake is to run it under cron for example, putting this in your .IR crontab (5) .nf */15 * * * * flashbake ~/my_novel 5 > /dev/null .fi would make flashbake run every fifteen minutes, checking in changes to the hot files in the ~/my_novel directory which have not been changed in the last five minutes. .SH BUGS The bug tracker is at http://github.com/commandline/flashbake/issues. If you are experiencing problems, try out a newer version first, if available. .SH SEE ALSO A more extensive documentation for flashbake can be found at its wiki site at: http://wiki.github.com/commandline/flashbake/. .PP A list of available plugins with the accompanying documentation can be found at: http://wiki.github.com/commandline/flashbake/plugins .SH AUTHOR Written by Thomas Gideon. .PP This manual page was written by Abhishek Dasgupta , for the Debian project (but may be used by others). debian/watch0000644000000000000000000000016511436737436010237 0ustar version=3 http://github.com/commandline/flashbake/downloads /downloads/commandline/flashbake/flashbake-(.*)\.tar\.gz debian/docs0000644000000000000000000000001411417343401010032 0ustar CREDITS.txt debian/flashbake.manpages0000644000000000000000000000005111417343401012615 0ustar debian/flashbake.1 debian/flashbakeall.1 debian/pycompat0000644000000000000000000000000211417343401010733 0ustar 2 debian/rules0000755000000000000000000000004011417343401010236 0ustar #!/usr/bin/make -f %: dh $@ debian/copyright0000644000000000000000000000247211417353422011130 0ustar Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?rev=135 Name: flashbake Source: http://bitbucketlabs.net/flashbake/ Files: * Copyright: 2009, 2010 Thomas Gideon License: GPL-3+ Files: flashbake/plugins/growl.py Copyright: 2009, Jason Penney License: GPL-3+ Files: flashbake/plugins/microblog.py Copyright: 2009, Ben Snider 2009, Thomas Gideon License: GPL-3+ Files: flashbake/plugins/scrivener.py Copyright: 2009, Jay Penney License: GPL-3+ Files: debian/* Copyright: 2010, Abhishek Dasgupta License: GPL-3+ License: GPL-3+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . . On Debian systems, the complete text of the GNU General Public License version 3 can be found in the file `/usr/share/common-licenses/GPL-3'. debian/control0000644000000000000000000000222311436740037010575 0ustar Source: flashbake Section: vcs Priority: optional Maintainer: Abhishek Dasgupta XS-Python-Version: >= 2.5 Build-Depends: debhelper (>= 7.0.50~), python-setuptools, python-support (>=0.90.0) Standards-Version: 3.9.0 Homepage: http://bitbucketlabs.net/flashbake/ Vcs-Git: git://git.debian.org/collab-maint/flashbake.git Vcs-Browser: http://git.debian.org/?p=collab-maint/flashbake.git;a=summary Package: flashbake Architecture: all XB-Python-Version: ${python:Versions} Depends: ${misc:Depends}, ${python:Depends}, python-enum (>=0.4.3), python-feedparser (>=4.1), python-setuptools, git-core | git (>= 1:1.7) Description: automated snapshots with git Flashbake is a tool which watches files and automatically checks them in to a git repository. There is an option to wait for a quiescent period before committing the files. Various plugins which capture the current context, like the weather or the currently playing song can be used to customise the commit message to produce a more meaningful history. . Thus it simplifies life for the user by taking off the burden of manually committing changes and allowing one to focus on the work. debian/source/0000755000000000000000000000000011417343401010464 5ustar debian/source/format0000644000000000000000000000001411417343401011672 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000152311436740642011050 0ustar flashbake (0.26.2-4) unstable; urgency=low * Fix debian/watch. * Specify minimum Python version as 2.5 (Closes: #594192) -- Abhishek Dasgupta Mon, 30 Aug 2010 20:04:11 +0530 flashbake (0.26.2-3) unstable; urgency=low * Add python-setuptools to Depends (Closes: #589762) -- Abhishek Dasgupta Thu, 22 Jul 2010 17:25:39 +0200 flashbake (0.26.2-2) unstable; urgency=low * debian/control: move git from Recommends to Depends * debian/flashbake.1: use correct short description -- Abhishek Dasgupta Fri, 16 Jul 2010 14:02:36 +0200 flashbake (0.26.2-1) unstable; urgency=low * Initial release (Closes: #587701), thanks to Jonathan Nieder for suggestions to improve the package description. -- Abhishek Dasgupta Fri, 09 Jul 2010 18:27:36 +0200 debian/patches/0000755000000000000000000000000011436741711010622 5ustar debian/patches/series0000644000000000000000000000002411436741711012033 0ustar 10-drop-tests.patch debian/patches/10-drop-tests.patch0000644000000000000000000000072311417343401014160 0ustar Author: Abhishek Dasgupta Last-Update: 2010-07-09 --- flashbake-0.26.2.orig/setup.py +++ flashbake-0.26.2/setup.py @@ -11,7 +11,7 @@ setup(name='flashbake', author_email="cmdln@thecommandline.net", url="http://thecommandline.net", license="GPLv3", - packages=find_packages(exclude=['test.*']), + packages=["flashbake"], install_requires=''' enum >=0.4.3 feedparser >=4.1