aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/git.pm
Commit message (Collapse)AuthorAge
* git: Fix bug involving attempting to web revert a commit that included ↵Joey Hess2010-12-29
| | | | changes to attachments.
* bugfixJoey Hess2010-12-29
|
* Add a second parameter to the rcs_diff hook, and avoid bloating memory ↵Joey Hess2010-12-29
| | | | reading in enormous commits.
* git: Avoid adding files when committing, so as not to implicitly add files ↵Joey Hess2010-11-29
| | | | like recentchanges files that are not normally checked in, when fixing links after rename.
* git: Fix temp file location.Joey Hess2010-11-29
|
* Use author date instead of commit dateTuomas Jormola2010-10-31
| | | | Signed-off-by: Tuomas Jormola <tj@solitudo.net>
* nice message if someone tries to revert a merge commitJoey Hess2010-10-23
|
* bugfixJoey Hess2010-10-23
|
* fix web reversion when the srcdir is in a subdir of the git repo.Joey Hess2010-10-23
|
* taint handling for revJoey Hess2010-10-08
|
* remove todo itemJoey Hess2010-10-08
| | | | | | | I understand the need to avoid chdir when running git_parse_changes for receive now. At that point, the changes have not been pushed to the srcdir's repo yet. When running the same code for preprevert, chdir to the srcdir is ok, and necessary.
* fix rcs_prepedit implementation to match specJoey Hess2010-10-08
|
* convert rcs_revert to only stage the reversionJoey Hess2010-10-06
|
* remove rcs_showpatchJoey Hess2010-10-06
|
* fix $git_root cachingJoey Hess2010-10-04
|
* fix indentationJoey Hess2010-10-04
|
* document new rcs reversion support functionsJoey Hess2010-10-04
|
* indentationJoey Hess2010-10-04
|
* fix bug if git_root is "0"Joey Hess2010-10-04
|
* Minor tidy-ups.Peter Gammie2010-10-01
|
* Complete rcs_preprevert and lightly test.Peter Gammie2010-10-01
|
* First cut at the revert plugin.Peter Gammie2010-09-29
|
* git: When updating from remote, use git pull --prune, to avoid possible ↵Joey Hess2010-09-14
| | | | errors from conflicting obsolete remote branches.
* avoid generating receive wrapper if there are no untrusted committersJoey Hess2010-07-26
| | | | | The wrapper is pointless in that configuration. Also, the code for it doesn't compile w/o untrusted commiters to test. :)
* git: Fix gitweb historyurl examples so "diff to current" links work. (Thanks ↵Joey Hess2010-07-24
| | | | jrayhawk)
* move nickname sanitization outJoey Hess2010-07-04
| | | | | | Probably best to store it unsanitized and sanitize as needed on use. And it already was for comments, leaving only the need to sanitize the nickname when git committing, to ensure the email address is legal.
* git: Added git_wrapper_background_command option. Can be used to eg, make ↵Joey Hess2010-07-01
| | | | the git wrapper push to github in the background after ikiwiki runs.
* bugfixJoey Hess2010-06-23
|
* finializing openid nickname supportJoey Hess2010-06-23
| | | | | | | Renamed usershort => nickname. Note that this means existing user login sessions will not have the nickname recorded, and so it won't be used for those.
* git: Record the username from openid in the git author email. (This avoids ↵Joey Hess2010-06-23
| | | | display of ugly google openids.)
* rcs_getctime and rcs_getmtime take relative filenamesJoey Hess2010-06-23
| | | | | | | | | | There was some confusion about whether the filename was relative to srcdir or not. Some test cases, and the bzr plugin assumed it was relative to the srcdir. Most everything else assumed it was absolute. Changed it to relative, for consistency with the rest of the rcs_ functions.
* rcs_commit and rcs_commit_staged api changesJoey Hess2010-06-23
| | | | | | | | | | | Using named parameters for these is overdue. Passing the session in a parameter instead of passing username and IP separately will later allow storing other session info, like username or part of the email. Note that these functions are not part of the exported API, and the prototype change will catch (most) skew, so I am not changing API versions. Any third-party plugins that call them will need updated though.
* API: rcs_commit and rcs_commit_staged are passed a new parameterJoey Hess2010-06-23
| | | | | that may contain the username component of the email address of the user making the commit.
* Add new optional field usershort to rcs_recentchanges.Joey Hess2010-06-23
| | | | | | | | | | Now the git plugin supports commits with author fields that look like: Author: http://my.openid/ <me@web> Then in recentchanges, the short username will be displayed, linking to the openid. Particularly useful for the horrible google openids, of course.
* force list contextJoey Hess2010-06-16
| | | | run_or_die returns a status code in scalar context
* git: Gix --gettime to properly support utf8 filenames.Joey Hess2010-06-15
| | | | | In passing, fixed a bug where the srcdir was in a subdir of a repository named "0".
* automatically run --gettime, and optimise it for gitJoey Hess2010-04-16
| | | | | | | | | | * Automatically run --gettime the first time ikiwiki is run on a given srcdir. * Optimise --gettime for git, so it's appropriatly screamingly fast. (This could be done for other backends too.) * However, --gettime for git no longer follows renames. * Use above to fix up timestamps on docwiki, as well as ensure that timestamps on basewiki files shipped in the deb are sane.
* --gettime revampJoey Hess2010-04-16
| | | | | | | | * Rename --getctime to --gettime. (The old name still works for backwards compatability.) * --gettime now also looks up last modification time. * Add rcs_getmtime to plugin API; currently only implemented for git.
* Group related plugins into sections in the setup file, and drop unused rcs ↵Joey Hess2010-02-11
| | | | plugins from the setup file.
* handle git-notes breakageJoey Hess2010-01-19
| | | | | | | | | | The new git-notes feature in git 1.6.6 changes git log output in a way that broke ikiwiki's parser if notes are added to commits. I decided to deal with this by disabling notes when ikiwiki uses git, by setting GIT_NOTES_REF="". AFAICS, looking up notes when dumping logs will only waste time, since it does not currently seem to make sense for ikiwiki to do anything with the notes.
* brace style and layoutJoey Hess2010-01-18
|
* skip mergesJoey Hess2009-10-12
| | | | | | git log --follow seems to sometimes show merges from before the file was ever created. So, skip them, a file shouldn't be first created during a merge anyway.
* can't use --reverse with git log --followJoey Hess2009-10-11
| | | | Meh, git.
* git: --getctime will now follow renames back to the original creation of a file.Joey Hess2009-10-11
| | | | | | This will be a bit more expensive, but --getctime does not need to be fast. And getting the real creation time a very useful when untangling blog histories that involve renames.
* clean up use of IkiWiki::ReceiveJoey Hess2009-09-10
| | | | | | | | | | Loading and use of IkiWiki::Receive can all be pushed into the git plugin, rather than scattered around. I had at first wanted to make a receive plugin and move it there, but a plugin was not a good fit; you don't want users to have to manually load it, and making the git plugin load the receive plugin at the right times would need more, and ugly code.
* fix rcs_getctime to return first, not last, change timeJoey Hess2009-03-20
| | | | | | | This was being buggy and returning the file's last change time, not its creation time. (I checked all the others (except tla) and they're ok.)
* git: Manually decode git output from utf-8, avoids warning messages on ↵Joey Hess2009-03-09
| | | | invalidly encoded output.
* git: Fix utf-8 encoding of author names.Joey Hess2009-03-09
| | | | | | | | I guess what's happening here is that since the name is passed to git via an environment variable, perl's normal utf-8 IO layer stuff doesn't work. So we have to explicitly decode the string from perl's internal representation into utf-8.
* git: Fix malformed utf8 recieved from git.Joey Hess2009-01-25
| | | | | | If git log outputs malformed utf8 in, eg, usernames, detect it and fix it up. This avoids commits such as f71abc92aa279fbe0b7578b8c4752d775dd4a259 breaking things.
* A recent change to gitweb removed support for the form of diffurl that many ↵Joey Hess2009-01-05
| | | | ikiwiki setups use. Document how to use the new url form.