Commit graph

23 commits

Author SHA1 Message Date
wiz
6983efd6f8 Update to 0.52:
0.52, released Jan 22, 2007

Belatedly update the SVN::Web installation to note that Subversion
1.4.0 or above is now required to use SVN::Web.

0.51, released Jan 15, 2007

C<reposparent> functionality was inadvertently broken in 0.50.  This
release fixes that.  This was rt#24377 reported by Christoph Buescher
<Christoph.Buescher@fiducia.de>.

0.50, released Jan 12, 2007

SVN::Web now supports accessing repositories that are B<not> on the same
host as the SVN::Web installation.  Repositories can be accessed using
the I<file:///>, I<http://>, and I<svn://> protocols.

A mechanism for configuring which actions are available on each page has
been introduced.  See L<SVN::Web/"Action menu configuration"> for more.

A new action, L<SVN::Web::Blame> has been introduced.  This generates
output that shows the Subversion annotation/blame information for a
file.

Diff output (from L<SVN::Web::Diff> and L<SVN::Web::Revision>) is now
generated by Subversion, rather than SVN::Web.  This makes diff
generation much faster, and much less memory intensive.  However, it
has meant that the I<context> option is no longer available.

There are several small tweaks to the diff and revision output.

Refactoring and rewriting has meant that L<Digest::MD5>, L<Text::Diff>,
and L<Text::Diff::HTML> are no longer prequisites.

A bug has been fixed in RSS generation.  The contents of the
<description> element are now wrapped in CDATA markers to ensure that
any embedded markup is preserved.

There is now support for keeping localisation files in arbitrary
directories, configured by the C<language_dirs> configuration option.
This makes it simpler to maintain your own localisation files outside
of SVN::Web, and makes it easier to integrate third party actions in
to an SVN::Web installation.

See L<SVN::Web/Languages> and L<SVN::Web::I18N> for more details.

The Template::Toolkit C<log_msg> meta-filter has been replaced with a
Template::Toolkit MACRO, defined in F<_log_msg>.  The effect is the
same, but this approach affords more flexibility (e.g., having
different log message filters per repository).

The log template now supports rudimentary 'paging' through the log
messages.  I<Proper> paging support requires new functionality in
Subversion.  Selecting the number of log messages to show per page
is also more straightforward.

L<SVN::Web::Revision> supports a C<max_diff_size> configuration option
to cope with revisions which may generate huge diffs.

The configuration file (F<config.yaml>) must contain a C<version> key,
otherwise a fatal error is generated.

Most extraneous whitespace is now removed from the templates when output
is being produced.

Documentation bug rt#22282, reported by Andrew Sterling Hanenkamp
<sterling@hanenkamp.com>, has been fixed.

0.49, released Aug 23, 2006

SVN::Web now properly supports Apache 2 / mod_perl 2.  In addition, the
test suite contains tests that work under Apache 2, and ensure that
future changes should not introduce regressions in this functionality.

File::Spec is now used when constructing filesystem paths, instead of
assuming that the directory separator is F</>.  This should allow the
use of native paths on Windows, e.g. F<< C:\path\to\svnweb >>.

A bug in the mod_perl handler meant that the [% script %] directive
wasn't generating fully qualified links.  This resulted in links in
the RSS feed being relative.  This is now fixed.  Reported by
Dietrich Streifert <dietrich.streifert@visionet.de>.

When testing the generated F<httpd.conf> includes an explicit
C<ServerName> directive, removing a warning on some hosts.  Reported
in rt#20170 by <fiajro@cy.ath.cx>.

Set permissions on the temporary directories when running tests as
root.  Otherwise they fail.  Reported in rt#20170 by
<fiajro@cy.ath.cx>.

Fix a bug encounted on Solaris.  SVN::Core::time_from_cstring() was
returning negative numbers.

The questions that are asked when running C<< perl Build.PL >> can now
be answered and/or skipped by passing command line options to F<Build.PL>.
Run C<< perldoc Build.PL >> for the documentation options.

Paths to Apache modules are no longer hardcoded in F<conf/httpd.tt>.
C<apxs> is used to retrieve the value of the Apache library directory.
In addition, the name of the mod_perl .so file is now configurable, as
different systems call it different things.

Included documentation on using SVN::Web with the IIS web server.
Submitted by Tom Hukins <tom@eborcom.com> in rt#20341.

A bug in the author's testing environment meant that 0.48 shipped with
templates that generated HTML that was not strictly valid.  This, and
the templates, have been fixed.

0.48, released Jun 28, 2006

The interface localisation can now be selected.  The interface has always
been localised, but the mechanism for choosing it has been badly exposed.
SVN::Web now supports two configuration options (C<languages> and
C<default_language>) to specify the language selection.

In addition, the available configured languages are also exposed through
the (C<trac>) user interface, and the user can choose from the list of
available localisation.  Their choice is saved in a cookie.

Generation of RSS feeds is now done using a template, instead of using
L<XML::RSS>.  This removes a dependency on XML:RSS, and should make it
easier to customise the content of the RSS feed should you desire.

This fixes rt#18169, reported by Mike Ellery <mikee@s2technologies.com>.

RSS feeds are now autodiscoverable in modern browsers.

The formatting of timestamps is now configurable using
L<POSIX/strftime>.  You can choose how timestamps are formatted, and
they can be displayed in UTC (the Subversion default), the server's
local timezone, or the timezone of your choice.  See L<SVN::Web/"Time
and date formatting"> for details.

This fixes rt#18806, reported by Mike Ellery <mikee@s2technologies.com>.

Worked around a bug in Subversion where repository paths that were
specified with a tailing slash would trigger an assertion.  This fixes
rt#19273, reported by Michael Schwern <MSCHWERN@cpan.org>.

Fixed a bug where the C<directory_umask> cache backend option was not being
treated as an octal number.  This fixes rt#19272, reported by
Michael Schwern <MSCHWERN@cpan.org>.

The L<SVN::Web::Revision> action now show's the repository's youngest
revision if no C<rev> parameter is provided.

Fixed a bug in L<SVN::Web::Revision>.  Revisions that contain files that
were copied from another file, modified, and then committed will now be
displayed properly instead of generating an error.

The documentation for L<SVN::Web> includes an example configuration for
Apache and FastCGI, contributed by Robert Spier <rspier@pobox.com>.

Made extensive changes to the test suite.  Include tests that exercise
SVN::Web when running under C<svnweb-server>, as a CGI script, and as an
Apache mod_perl1 handler.  These tests are optional -- the installer
is prompted at C<perl Build.PL> time whether to run these tests, and
to provide the information the tests need (such as the port to run on).

0.47, released May 6, 2006

Implement support for caching the results of the actions, using any of
the L<Cache::Cache> family of modules.  In tests (see
F<t/benchmark.t>) this can yield a 20% or greater speed benefit.  See
L<SVN::Web/"Data cache"> for details of how to enable the cache and
configure cache related options.

Support Subversion repo directories and files that have spaces or other
characters that should be URI escaped in their names.  Fixes rt#19093,
reported by <gbloice@gmail.com>.

Commented out the references to L<Template::Plugin::Clickable> and
L<Template::Plugin::Clickable::Email> in the config file that is
generated by C<svnweb-install>.  This stops log files filling up with
warnings if they're not present.  The lines remain, commented out, as
a suggestion for users.

Improved the modperl2 support, fixing rt#19004, rt#18437, and rt#18346
(Garrison Hoffman <garrison@codefix.net>, <cpan@rickster.com>,
Thomas Nagel <me@thomasnagel.com>).

0.46, released Mar 9, 2006

Fixed a bug in C<svnweb-server>.  The L<CGI> module is now always used
when running under this server, instead of L<CGI::Fast>.  This should
fix problems if you are trying to use C<svnweb-server> on a host with
L<CGI::Fast> installed.

0.45, released Mar 8, 2006

Fixed a bug that broke mod_perl support.

0.44, released Mar 8, 2006

When browsing the repository the F<trac> templates now include age
of the file, expressed as {seconds, minutes, hours, days, weeks,
months, years} since the file was last modified.

The C<revision>, C<log>, C<view>, and C<rss> actions are much more
conservative with memory when processing commits that changed a large
number of files.  Fixes rt#17359, reported by Dietrich Streifert
<dietrich.streifert@visionet.de>.

Included support for running under mod_perl2 as well as mod_perl1.  Fixes
rt#17085 and rt#17350.  Based on a patch from Garrison Hoffman
<garrison@codefix.net>.

Fixed a bug when running under mod_perl -- the HTTP headers were not
being sent.  Some browsers could cope with this, others just displayed
the raw HTML.  Reported by Dominic Mitchell <dom@happygiraffe.net>.

Entering a revision number that does not exist will now generate a
localised error message.  Fixes rt#17822, reported by
<gk5885@kickstyle.net>

The L<SVN::Web::Revision> action will now not show diffs between
file revisions if either revision of the file has a non-text MIME type.
Fixes rt#17625, reported by Mike Ellery <mikee@s2technologies.com>.

Fixed some bugs in C<svnweb-server>.  Option parsing works properly,
fixing rt#17347 (reported by <miyagawa@cpan.org>) and the
C<--net-server> option is now honoured.

C<svnweb-install> should now work if any directories in the install path
contain regexp metacharacters in the filename.  Fixes rt#17282, reported by
<CORION@cpan.org>.  It also emits warnings if copying files or making
directories during the install process fails, fixing rt#17283.

0.43, released Jan 25, 2006

Fix a syntax error in the config file generated by svnweb-install.

Fix the instructions and code for running under mod_perl.

When viewing an HTML diff, include a link to the plain text equivalent.

Showing diffs when viewing a revision is now optional, but defaults to on.

Require Exception::Class 1.22 or above.  Versions below lack the necessary
C<caught()> syntax.

Improve the installation and configuration documentation.

Include C<svnweb-server>, a simple web server to make it easier for people
to get started with SVN::Web.

0.42, released Dec 16, 2005

Throw exceptions instead of die()ing on almost all errors.  Catch the
exceptions and generate much friendlier error messages.  Error messages
are now easy to localise.

When viewing a diff, the I<trac> templates show the two revision numbers
being compared, and include a link allowing the user to reverse the order
of the diff.

The syntax for specifying permitted actions, and the classes that implement
them, has changed.  See L<UPDATING> for more information.  This mechanism
also allows for easy configuration of per-action options.

A (partial) French localisation has been supplied by Cyril Brulebois.

Any C<svn:externals> properties that are set on a directory are now shown
when browsing that directory.

When viewing a file's revision log, you can now select two arbitrary
revisions and get a diff showing the changes between those revisions.
Fixes rt#15813.

If you only have one repository configured then the C<list> action can be
configured to immediately redirect to browsing that repository, saving the
user from having to click through an intermediate page.  See L<SVN::Web::List>
for more information.
2007-02-27 12:03:15 +00:00
wiz
d836429a3b Add HOMEPAGE. 2007-02-27 09:37:29 +00:00
minskim
4cd37c8b4a Remove teTeX2 from TEX_ACCEPTED, because the teTeX2 packages will be removed
shortly.
2006-08-10 03:21:39 +00:00
minskim
fa5157ed20 Remove references to teTeX1. 2006-05-13 03:44:23 +00:00
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
wiz
768c589c29 Bump BUILDLINK_RECOMMENDED of textproc/expat to 2.0.0 because
of the shlib major bump.
PKGREVISION++ for the dependencies.
2006-01-24 07:31:52 +00:00
mjl
da0360c201 Update p5-SVN-Web to 0.41
Overhauled templates, more customization options, i18n support, css
support and a couple of bug fixes.
2005-12-04 13:52:30 +00:00
tonio
c27f4ed5e1 Rename LATEX_ACCEPTED and LATEX_DEFAULT to TEX_ACCEPTED and TEX_DEFAULT
It is more consistent with the tex.buildlink3.mk name. Also, if a package
really needs latex, it just has to set TEX_ACCEPTED to latex distributions
altough today, all TEX_ACCEPTED possibilities are latex distributions
2005-11-11 18:50:23 +00:00
tonio
64236a0344 Convert to use tex.buildlink3.mk
set LATEX_ACCEPTED= teTeX1 teTeX2 teTeX3 to allow whatever latex distribution
2005-11-08 20:06:43 +00:00
jlam
7fbb8d9527 Bump the PKGREVISIONs of all (638) packages that hardcode the locations
of Perl files to deal with the perl-5.8.7 update that moved all
pkgsrc-installed Perl files into the "vendor" directories.
2005-08-06 06:19:03 +00:00
jlam
7a6521287b Turn PERL5_PACKLIST into a relative path instead of an absolute path.
These paths are now relative to PERL5_PACKLIST_DIR, which currently
defaults to ${PERL5_SITEARCH}.  There is no change to the binary
packages.
2005-07-13 18:01:18 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
wiz
809ad6f2f7 Add RMD160 checksums. 2005-02-24 14:08:26 +00:00
wiz
d14c3a6198 Wildcard dependencies. 2005-01-06 14:25:56 +00:00
jlam
6ef33b1366 Trim down the dependencies for p5-Template-Toolkit to the mininum
needed to install the module.  Packages that require plugins from the
Template Toolkit should depend on modules needed to make those plugins
function.  Bump the PKGREVISION of p5-Template-Toolkit to 3.

For the packages that depend directly on p5-Template-Toolkit, add as
dependencies all of the packages needed to make the plugins work to
the package Makefiles, and bump their PKGREVISIONs.
2004-12-25 05:00:00 +00:00
grant
908e765695 since perl is now built with threads on most platforms, the perl archlib
module directory has changed (eg. "darwin-2level" vs.
"darwin-thread-multi-2level").

binary packages of perl modules need to be distinguishable between
being built against threaded perl and unthreaded perl, so bump the
PKGREVISION of all perl module packages and introduce
BUILDLINK_RECOMMENDED for perl as perl>=5.8.5nb5 so the correct
dependencies are registered and the binary packages are distinct.

addresses PR pkg/28619 from H. Todd Fujinaka.
2004-12-20 11:30:55 +00:00
epg
803b365bb3 Set MAINTAINER to tech-pkg@NetBSD.org. 2004-11-27 00:18:13 +00:00
snj
329cf082f7 Convert to buildlink3. 2004-05-11 05:18:59 +00:00
wiz
a661ce60c0 PKGREVISION bump after openssl-security-fix-update to 0.9.6m.
Buildlink files: RECOMMENDED version changed to current version.
2004-03-26 02:27:34 +00:00
wiz
1e85f50c3c Wildcard dependency on p5-Template-Toolkit. 2003-12-26 19:58:37 +00:00
epg
be0f737b33 Update to 0.35.
Upstream change log:

[Changes for 0.35 - Nov 19, 2003]
* Fix RSS links to revisions under mod_perl.
* Misc fixes and API catch-up.
2003-12-07 01:50:11 +00:00
epg
cb5169903b import p5-SVN-Web-0.30pre0.40.
SVN::Web is a repository browser for Subversion, similar to cvsweb
and ViewCVS.

This is a snapshot from the SVN::Web Subversion repository; it is
*NOT* a stable release.
2003-12-03 16:13:28 +00:00