Age | Commit message (Collapse) | Author |
|
The recent setup revamp exposed some latent bugs in use/package ordering
that caused some symbols to not the exported into the correct scope.
|
|
generating recentchanges.
|
|
message when the file doesn't exist.
|
|
This works around a perl crasher bug, and also avoids bloating pages
with enormous diffs.
rcs_recentchanges modified to return a list in an array context.
|
|
If a diff of the firsst commit in a git repo was requested, it would fail and
print to stderr since first^ isn't valid. Using git show will always work.
|
|
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.
|
|
* 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.
|
|
the svnrepo and notify settings, though both will be ignored if left in
setup files.
|
|
No point in using a relative time value in rcs_recentchanges. Different
consumers of the info want different things.
|
|
This can legitimately happen when there's a simple merge.
|
|
|
|
There was an undocumented field named "rev", I think "id" is a better name,
and nothing uses it yet.
|
|
|
|
|
|
It doesn't really make sense to do notification from a post-commit hook.
|
|
This is not only called from post-update in all configurations. Also, the
comment was innaccurate about what the post-update hook is passed.
|
|
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>
|
|
|
|
spewing uninitialised value warnings and debug messages about it.
Dummying up a parent of 0000000 allows gitweb to work too.
|
|
|
|
show the full message.
|
|
of -m to git-log, and by skipping display of commits that change no
pages.
|
|
In some configurations, only the main git command is in the path.
|
|
stay the same for the duration of the function.
|
|
|
|
Useful for laptop clones of remote wikis.
|
|
|
|
importing from a svn repo.
|
|
to be passed on to stderr. Also fixes a potential bug, since git error
meesages were treated as if they came from git stdout.
|
|
* Fix --get-ctime with git, needed to remove srcdir from filename.
|
|
|
|
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>.
|
|
Patch by Jamey Sharp <jamey@minilop.net>.
|
|
Patch by Jamey Sharp <jamey@minilop.net>.
|
|
|
|
file. Closes: #408599
|
|
|
|
|
|
|
|
* 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.
|
|
|
|
* 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.
|
|
|
|
|
|
- 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.
|
|
|
|
each rcs plugin needing to form complex strings on its own.
|
|
(Faidon)
|
|
|
|
to be read as utf8.
|