[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#753962: ITP: ghp-import -- Easily import docs to your gh-pages branch

On Sun, Jul 6, 2014 at 5:51 PM, Thomas Koch <thomas@koch.ro> wrote:
> On Sunday, July 06, 2014 07:14:49 PM Andrew Starr-Bochicchio wrote:
>> Inside your repository just run `ghp-import $DOCS_DIR` where $DOCS_DIR
>> is the path to the built documentation. This will write a commit to your
>> gh-pages branch with the current documents in it.
>> While I'm no fan of license proliferation, the Tumbolia Public License
>> seems to meet the requitements of the DFSG.
> Having a quick look at the code of ghp-import it seems to me that I can easily
> replace it with a shell two-liner in my projects makefile. I'd much more
> welcome an addition to the packages git-extras or git-stuff which could do:
> - prepare a git-tree from a directory with all objects written to the object
> store
> - commit this tree to a branch that is not currently checked out
> - A combined command of the above two.
> Both actions must not touch the index.

My main reason for packaging this is that python-pelican uses it in
the github target of the Makefiles it generates. [0] Maybe I should
mention that in the description. I was planning on using an Enhances
field in debian/control.

[0] http://docs.getpelican.com/en/latest/tips.html#publishing-to-github


-- Andrew Starr-Bochicchio

   Ubuntu Developer <https://launchpad.net/~andrewsomething>
   Debian Developer <http://qa.debian.org/developer.php?login=asb>

Reply to: