summaryrefslogtreecommitdiff
path: root/IkiWiki/Rcs/git.pm
AgeCommit message (Collapse)Author
2008-03-07* Remove locking code in git rcs_commit. I'm not sure if this was everJoey Hess
correct, and it's certianly not correct now, since the wiki is locked before rcs_commit is ever called, and should not be unlocked by rcs_commit either.
2008-03-03* Add recentchangesdiff plugin that adds diffs to the recentchanges feeds.Joey Hess
* rcs_diff is a new function that rcs modules should implement. * Implemented rcs_diff for git, svn, and tla (tla version untested). Mercurial and monotone still todo.
2008-01-29* Removed support for sending commit notification mails. Along with it wentJoey Hess
the svnrepo and notify settings, though both will be ignored if left in setup files.
2008-01-28change rcs_recentchanges when to absolute, not relative, timeJoey Hess
No point in using a relative time value in rcs_recentchanges. Different consumers of the info want different things.
2008-01-28remove debug messageJoey Hess
This can legitimately happen when there's a simple merge.
2008-01-28figured out how rev is used..Joey Hess
2008-01-28add an id field to the rcs_recentchanges return structureJoey Hess
There was an undocumented field named "rev", I think "id" is a better name, and nothing uses it yet.
2008-01-28remove extraneous quotingJoey Hess
2008-01-28test1Joey Hess
2008-01-28really fix commentJoey Hess
It doesn't really make sense to do notification from a post-commit hook.
2008-01-28update commentJoey Hess
This is not only called from post-update in all configurations. Also, the comment was innaccurate about what the post-update hook is passed.
2008-01-17Add full parser for git diff-tree outputBrian Downing
The -c option to git log/diff-tree produces "merged" diffs with a different format from normal ones. However, the existing diff-tree parser only accepted non-merged diff lines. Merged diff lines caused the parser to get out of sync. This patch adds a full parser for diffs with any number of parents. See the "DIFF FORMAT FOR MERGES" section in the git-diff-tree man page for more information. Signed-off-by: Brian Downing <bdowning@lavos.net>
2007-12-16* git: Correct display of multiline commit messages in recentchanges.Joey Hess
2007-11-12* The first git commit legitimately has no parents. Avoid recentchangesJoey Hess
spewing uninitialised value warnings and debug messages about it. Dummying up a parent of 0000000 allows gitweb to work too.
2007-10-31fix dumb mistakeJoey Hess
2007-10-31* Don't truncate git commit messages to the first line in RecentChanges,Joey Hess
show the full message.
2007-10-31* Improve the RecentChanges display for git merges, by passing -c insteadJoey Hess
of -m to git-log, and by skipping display of commits that change no pages.
2007-10-31* Avoid using commands like git-diff and instead use "git diff".Joey Hess
In some configurations, only the main git command is in the path.
2007-10-31* Avoid a race in the git rcs_commit function, by not assuming HEAD willJoey Hess
stay the same for the duration of the function.
2007-10-26Run git-commit -q (though it doesn't do much good due to its stderr abuse).Joey Hess
2007-10-22* If gitorigin_branch is set to the empty string, don't push or pull.joey
Useful for laptop clones of remote wikis.
2007-10-21minor stylistic changesjoey
2007-10-21 * Support git authors of the form "joey <joey>", which is common whenjoey
importing from a svn repo.
2007-10-10* Fix strange stderr-hiding code in the git module, allow error messagesjoey
to be passed on to stderr. Also fixes a potential bug, since git error meesages were treated as if they came from git stdout.
2007-10-10* French translation update. Closes: #445923joey
* Fix --get-ctime with git, needed to remove srcdir from filename.
2007-10-04* Tidy ctime debug output for git.joey
2007-08-30git.pm: Handle operating in sub-trees of a git repository.joshtriplett
When looking for git commits that affect the wiki, only include changes that affect the ikiwiki source directory. If that is not the top-level directory in this git repository, strip off the prefix as given by `git-rev-parse --show-prefix` from all names reported by git-log. Patch by Jamey Sharp <jamey@minilop.net>.
2007-08-30git.pm: Renames from git-diff-tree aren't handled, so don't ask for them.joshtriplett
Patch by Jamey Sharp <jamey@minilop.net>.
2007-08-30Use git-log rather than the shell, git-rev-list, and git-diff-tree.joshtriplett
Patch by Jamey Sharp <jamey@minilop.net>.
2007-08-24remove unncessesary and unused loop labelsjoey
2007-01-27* Make gitorigin_branch and gitmaster_branch configurable via the setupjoey
file. Closes: #408599
2006-11-26cosmetics patch from Recaijoey
2006-11-26* Git backend improvements, including bug fixes and better robustness.joey
2006-11-22updatesjoey
2006-11-21* Add a test suite for the mercurial backend, contributed by Emanuele Aina.joey
* Add a test suite for the svn backend. * Daemonize before sending RPC pings, since that can take a while and/or hang. * Daemonize before sending commit mails, as that can also take a long time/hang if the mail server is unhappy. * Factor out commit mail sending code into new function.
2006-11-21better subjectsjoey
2006-11-20* Add an openid plugin to support logging in using OpenID.joey
* Web commits by OpenID users will record the full OpenID url for the user, but in recentchanges, these urls will be converted to a simplified display form+link. * Modified svn, git, tla backends to recognise such web commits.
2006-11-08* Make sure to check for errors from every eval.joey
2006-10-14cosmetic changes from Recaijoey
2006-09-09* Work on firming up the plugin interface:joey
- Plugins should not need to load IkiWiki::Render to get commonly used functions, so moved some functions from there to IkiWiki. - Picked out the set of functions and variables that most plugins use, documented them, and made IkiWiki export them by default, like a proper perl module should. - Use the other functions at your own risk. - This is not quite complete, I still have to decide whether to export some other things. * Changed all plugins included in ikiwiki to not use "IkiWiki::" when referring to stuff now exported by the IkiWiki module. * Anyone with a third-party ikiwiki plugin is strongly enrouraged to make like changes to it and avoid use of non-exported symboles from "IkiWiki::". * Link debian/changelog and debian/news to NEWS and CHANGELOG. * Support hyperestradier version 1.4.2, which adds a new required phraseform setting.
2006-09-04move html escapingjoey
2006-09-03* Simplify the data structure returned by rcs_recentchanges to avoidjoey
each rcs plugin needing to form complex strings on its own.
2006-07-11* Match 'web commit from' in SVN and git, these are web commits too.joey
(Faidon)
2006-07-05* Patch from Recai to fix utf8 issues in git backend.joey
2006-07-02* Centralised all calls to HTML::Template and force all the templatesjoey
to be read as utf8.
2006-06-19* Patch from Recai to fix git recentchanges code to work with git 1.4 whichjoey
changed some output. * Copyright update.
2006-06-04another from Recaijoey
2006-06-03misc fixes from Recaijoey
2006-06-02* Add support for using git instead of subversion as the RCS backend,joey
tremendous thanks to Recai Oktaş for this. * Doc updates for git.