Hello community, here is the log from the commit of package viewvc checked in at Sat Apr 28 14:40:45 CEST 2007. -------- New Changes file: --- /dev/null 2006-06-16 15:54:00.000000000 +0200 +++ /mounts/work_src_done/STABLE/viewvc/viewvc.changes 2007-04-28 14:05:26.000000000 +0200 @@ -0,0 +1,1404 @@ +------------------------------------------------------------------- +Sat Apr 28 14:04:24 CEST 2007 - olh@suse.de + +- move cvs2svn and viewvc to separate specfile + +------------------------------------------------------------------- +Sat Apr 28 11:18:16 CEST 2007 - olh@suse.de + +- add sysconfig settings for remote access (247372) + +------------------------------------------------------------------- +Sat Apr 28 10:46:47 CEST 2007 - olh@suse.de + +- add an example to host svn on / to subversion.conf (179404) + +------------------------------------------------------------------- +Thu Mar 29 21:56:44 CEST 2007 - olh@suse.de + +- add /usr/share/emacs to filelist + +------------------------------------------------------------------- +Sun Feb 25 16:48:11 CET 2007 - olh@suse.de + +- update viewvc to 1.0.3 + * fix bug in path shown for Subversion deleted-under-copy items (issue #265) + * minor documentation fixes + * fix annotate assertions on uncanonicalized #include paths (issue #208) + * make RSS URL method match the method used to generate it (issue #245) + * fix Subversion annotation to run non-interactively, preventing hangs + * fix bug in custom syntax highlighter fallback logic + * fix bug in PHP CGI hack to avoid force-cgi-redirect errors +- update cvs2svn to 1.5.1 + New features: + * Support multiproject conversions (each gets its own trunk, tags, branches). + * New --options option to allow run-time options to be defined via a file. + * --co, --cvs, and --sort options to specify the paths to executables. + * Add new --fallback-encoding option. + Bugs fixed: + * Add missing import in cvs2svn_lib/process.py. + * Fix issue #86: Support multiple project roots per repository. + * Fix issue #104: Allow path to "sort" executable to be specified. + * Fix issue #8: Allow multiple --encoding options. + * Fix issue #109: Improve handling of fallback encodings. + Improvements and output changes: + * Further reduce conversion time and temporary space requirements. + Miscellaneous: + * Deprecate the --dump-only option (it is now implied by --dumpfile). + +------------------------------------------------------------------- +Sat Feb 24 21:55:39 CET 2007 - olh@suse.de + +- Version 1.4.3 + User-visible-changes: + - Client: + * fixed: crash using automatic auth protocols with Neon 0.26 (r22440, -61) + * fixed: svn_load_dirs.pl cannot import file names containing '@' (r22203) + * fixed: error when committing replaced directories (r22991, -8) + * fixed: inability to change file perms due to existing file perms (r23018) + * include newest version of svn-graph.pl (r22969) + * install a manpage for svnsync (r21403) + * translation updates for all languages + * dramatically speed up commit of wc-to-wc copy (r21471) + * fixed: support 'svn co URL@{DATE}' (issue #2602) + * fixed: cannot access repositories with spaces via svn:// (issue #2612) + * fixed: passing full URL in some DAV requests, breaking proxies (r21526) + * fixed: history-tracing can fail for renamed directories (issue #2600) + * fixed: crash if interrupted while opening a working copy (r21792) + * fixed: 'svn merge' should notify about conflicted files (issue #2584) + * fixed: 'svn revert' should notify about prop-only reverts (issue #2517) + * fixed: 'svn status -u' not showing props changed on wc root (issue #2533) + * fixed: 'svn status -u' fails in a read-only working copy (r21904, -19) + * fixed: 'svn up' failing with checksum mismatch error (issue #2618) + * fixed: 'svnsync sync' copying missing implicit revprops (issue #2613) + * fixed: svnsync unable to synchronise copies of URL-unsafe paths (r22092) + * svnshell tool: support "setrev head" (r20992) + * include newest version of svnmerge.py + - Server: + * fixed: incorrectly reporting authz circular dependencies (issue #2684) + * fixed: potential filesystem memory leak in commit finalisation (r22729) + * FSFS: improve detection of disk write errors (r21346) + * FSFS: prevent API violation from corrupting repository (issue #2467) + * improved error checking when running hook scripts, etc (r21483) + * mailer.py: new commit_url option links to web page for a commit (r21333) + - Client and Server: + * fixed: potential string corruption when resizing string buffers (r22689) + * translation updates for Korean, Spanish, Italian, Simplified Chinese, + and Japanese (fixing issues #2649 and #2681) + Developer-visible-changes: + * update (experimental) ra_serf repository access module for DAV (r22872) + * fixed: svn_{ra,repos}_replay() doesn't send checksums (r22346, -51, -52) + * fixed: error when calling svn_repos_replay2() with a txn root (r22609) + * support current CVS versions of libtool (post-1.5.22) (r22120) + * javahl bindings: + - fixed: auth cache is created in the current directory (r22780) + - fixed: SVNAdmin's setLog() method always fails (r22387) + - fixed: target dependency order in generated build scripts (r22209) + - compile Java bytecode for Java 1.2 VM (r21765, -7, r21814) + - fixed: crash if using 1.4.x bindings with older libraries (r21316, -429) + - fixed: crash when empty destination path passed to checkout (r21770) + * SWIG/perl bindings: + - fixed: ra_do_{update,switch,status} work with Perl delta editors (r22311) + - fixed: memory leak when calling methods on a Perl commit editor (r22332) + - fixed: ra_replay works with Perl delta editors (r20666) + * SWIG/python bindings: + - fixed: crash when using an apr_hash_t typemap (issue #2606) + +------------------------------------------------------------------- +Thu Jan 25 13:21:33 CET 2007 - olh@suse.de + +- add svnmerge.py to subversion-tools (236700) + +------------------------------------------------------------------- +Sun Oct 29 13:00:18 CET 2006 - meissner@suse.de + +- use RPM_OPT_FLAGS also for C++ + +------------------------------------------------------------------- +Thu Sep 28 00:33:39 CEST 2006 - ro@suse.de + +- use source=1.4 for java compilation + +------------------------------------------------------------------- +Mon Sep 25 10:55:08 CEST 2006 - olh@suse.de + +- update cvs2svn to 1.4.0 + New features: + * Support multicomponent --trunk, --tags, and --branches paths (issue #7). + * New --auto-props option allows file properties to be set via file. + * --force-branch and --force-tag options now accept regular expressions. + * Add --symbol-default option. + * Support multiple, ordered --encoding options. + Bugs fixed: + * Fix issue #93: Tags with forbidden characters converted to branches. + * Fix issue #102: Branch file, deleted in CVS, is present in SVN. + Improvements and output changes: + * Print informative warning message if a required program is missing. + * Output an error if any CVS filenames contain control characters. + * Clean up temporary files even for pass-by-pass conversions. + * Improve handling of commit dependencies and multibranch commits. + * Implemented issue #50 (performance change). + * Reduced the amount of temporary disk space needed during the conversion. + Miscellaneous: + * cvs2svn now requires Python version 2.2 or later. + * cvs2svn has been broken up into many smaller python modules for clarity. + +------------------------------------------------------------------- +Sat Sep 23 08:59:32 CEST 2006 - olh@suse.de + +- force javac 1.4 bytecode + +------------------------------------------------------------------- +Thu Sep 21 11:05:30 CEST 2006 - olh@suse.de + +- rename viewcvs to viewvc, with no upgrade path for config files +- use the official viewvc-1.0.1 to get rid of the -dev string + add patches for https and path handling from 1.0.x branch + +------------------------------------------------------------------- +Thu Sep 21 10:41:30 CEST 2006 - olh@suse.de + +- fix build when java is unavailable + +------------------------------------------------------------------- +Thu Sep 21 09:44:04 CEST 2006 - olh@suse.de + +- update cvs2svn filelist for python 2.5 + +------------------------------------------------------------------- +Fri Sep 15 08:07:14 CEST 2006 - poeml@suse.de + +- remove unused pcre-devel and redundant libapr-util1-devel from + BuildRequires + +------------------------------------------------------------------- +Wed Sep 13 17:22:58 CEST 2006 - olh@suse.de + +- Version 1.4.0 + User-visible-changes: + - Client: + * new 'svnsync' commandline tool for repository replication + * numerous working copy improvements (WARNING! upgrades to new format!): + - improved performance when detecting modified files (r18628 -56) + - new property storage is faster and uses less disk space (r17583) + - internal wcprops take up less space (r19433 -37) + - large file commit speedups (r17861 -73 18867 -918 -29 -44 -45 -48 -49) + - reduce memory usage for large working copies (r19183 -538) + - increased working copy stability with merge, copy and move: + (fixes issues #845, #1516, #1553, #2135, #2144, #2148) + * new switches added: + - 'svn blame --force' (issue #2509) + - 'svn diff/merge -c/--change' (r17054 -6 -68 18568 -741) + - 'svn diff --summarize' (issue #2015) + - 'svn merge/blame -x' (r18716 -20) (r18602 -857) + * 'svn log' now supports peg revisions (issue #2287) + * 'svn export' now creates intermediate directories if needed (r20030) + * use switch/relocate when svn:externals updated (issue #2209) + * internal diff can ignore whitespace and eol style changes (issue #2121) ++++ 1207 more lines (skipped) ++++ between /dev/null ++++ and /mounts/work_src_done/STABLE/viewvc/viewvc.changes New: ---- viewvc-1.0.x.tar.bz2 viewvc-buglink.patch viewvc.changes viewvc.conf viewvc.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ viewvc.spec ++++++ ++++ 1079 lines (skipped) ++++++ viewvc-buglink.patch ++++++ from James Henstridge <james@jamesh.id.au> http://sourceforge.net/tracker/index.php?func=detail&aid=986023&group_id=18760&atid=318760 lib/config.py | 1 + lib/viewvc.py | 22 +++++++++++++--------- viewvc.conf.dist | 15 +++++++++++++++ 3 files changed, 29 insertions(+), 9 deletions(-) Index: viewvc.conf.dist =================================================================== --- viewvc.conf.dist.orig +++ viewvc.conf.dist @@ -257,6 +257,21 @@ languages = en-us #--------------------------------------------------------------------------- [options] +# The 'buglink_base' value is a string that can be used to form a URL +# by appending a bug number. If viewvc sees something that looks +# like a bug number in a log message (eg. "bug 12345" or "#12345"), it +# will be displayed as a link to the bug in your bug tracking system. +# +# For a Bugzilla installation, you probably want to set this to +# something like "http://hostname/show_bug.cgi?id=". For the Debian +# bug tracker, you might use +# "http://hostname/cgi-bin/bugreport.cgi?bug=". +# +# If 'buglink_base' is not set, then bug tracker links won't be +# generated. +# +# buglink_base = http://example.com/show_bug.cgi?id= + # root_as_url_component: Interpret the first path component in the URL # after the script location as the root to use. This is an # alternative to using the "root=" query key. If ViewVC is configured Index: lib/config.py =================================================================== --- lib/config.py.orig +++ lib/config.py @@ -221,6 +221,7 @@ class Config: self.options.use_localtime = 0 self.options.http_expiration_time = 600 self.options.generate_etags = 1 + self.options.buglink_base = None def is_forbidden(self, module): if not module: Index: lib/viewvc.py =================================================================== --- lib/viewvc.py.orig +++ lib/viewvc.py @@ -970,14 +970,18 @@ def get_file_view_info(request, where, r # addresses. Note that the regexps assume the text is already HTML-encoded. _re_rewrite_url = re.compile('((http|https|ftp|file|svn|svn\+ssh)(://[-a-zA-Z0-9%.~:_/]+)((\?|\&)([-a-zA-Z0-9%.~:_]+)=([-a-zA-Z0-9%.~:_])+)*(#([-a-zA-Z0-9%.~:_]+)?)?)') _re_rewrite_email = re.compile('([-a-zA-Z0-9_.\+]+)@(([-a-zA-Z0-9]+\.)+[A-Za-z]{2,4})') -def htmlify(html): +_re_rewrite_bug = re.compile(r'((?:\bbug[\s#+]|[^&]#|^#)\s*(\d\d+))', re.I) +def htmlify(html, buglink = None): html = cgi.escape(html) html = re.sub(_re_rewrite_url, r'<a href="\1">\1</a>', html) html = re.sub(_re_rewrite_email, r'<a href="mailto:\1@\2">\1@\2</a>', html) + if buglink is not None: + html = re.sub(_re_rewrite_bug, r'<a href="%s\2">\1</a>' % buglink, html) return html + def format_log(log, cfg): - s = htmlify(log[:cfg.options.short_log_len]) + s = htmlify(log[:cfg.options.short_log_len], cfg.options.buglink_base) if len(log) > cfg.options.short_log_len: s = s + '...' return s @@ -1394,7 +1398,7 @@ def view_markup(request): 'date' : make_time_string(entry.date, cfg), 'author' : entry.author, 'changed' : entry.changed, - 'log' : htmlify(entry.log), + 'log' : htmlify(entry.log, cfg.options.buglink_base), 'size' : entry.size, }) @@ -1651,7 +1655,7 @@ def view_directory(request): 'sortby' : sortby, 'sortdir' : sortdir, 'tarball_href' : None, - 'search_re' : search_re and htmlify(search_re) or None, + 'search_re' : search_re and htmlify(search_re, cfg.options.buglink_base) or None, 'dir_pagestart' : None, 'sortby_file_href' : request.get_url(params={'sortby': 'file', 'sortdir': None}, @@ -1897,7 +1901,7 @@ def view_log(request): entry.ago = None if rev.date is not None: entry.ago = html_time(request, rev.date, 1) - entry.log = htmlify(rev.log or "") + entry.log = htmlify(rev.log or "", cfg.options.buglink_base) entry.size = rev.size entry.branch_point = None entry.next_main = None @@ -2359,7 +2363,7 @@ def spaced_html_text(text, cfg): text = string.replace(text, ' ', ' \x01nbsp;') else: text = string.replace(text, ' ', '\x01nbsp;') - text = htmlify(text) + text = htmlify(text, cfg.options.buglink_base) text = string.replace(text, '\x01', '&') text = string.replace(text, '\x02', '<span style="color:red">\</span><br />') return text @@ -2767,7 +2771,7 @@ def view_diff(request): else: changes = DiffSource(fp, cfg) else: - raw_diff_fp = MarkupPipeWrapper(fp, htmlify(headers), None, 1) + raw_diff_fp = MarkupPipeWrapper(fp, htmlify(headers, cfg.options.buglink_base), None, 1) data.update({ 'date_left' : rcsdiff_date_reformat(date1, cfg), @@ -3051,7 +3055,7 @@ def view_revision(request): 'rev' : str(rev), 'author' : author, 'date' : date_str, - 'log' : msg and htmlify(msg) or None, + 'log' : msg and htmlify(msg, request.cfg.options.buglink_base) or None, 'ago' : None, 'changes' : changes, 'prev_href' : prev_rev_href, @@ -3202,7 +3206,7 @@ def build_commit(request, files, limited commit = _item(num_files=len(files), files=[]) commit.limited_files = ezt.boolean(limited_files) desc = files[0].GetDescription() - commit.log = htmlify(desc) + commit.log = htmlify(desc, request.cfg.options.buglink_base) commit.short_log = format_log(desc, request.cfg) commit.author = htmlify(files[0].GetAuthor()) commit.rss_date = make_rss_time_string(files[0].GetTime(), request.cfg) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de