[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

s/gitweb/cgit/g



webwml side:
the patch attached changes gitweb links to cgit to fix 404 error and for consistency
doc/user-manuals.defs
doc/misc-manuals.defs
doc/devel-manuals
doc/devel-manuals.defs
mirror/Mirrors.masterlist
News/weekly/2011/12/index
News/weekly/2014/10/index
News/weekly/2014/11/index
devel/website/desc
devel/website/translation_hints
devel/tech-ctte

other than these, 
vote/2011/platforms/zack has:
http://git.upsilon.cc/cgi-bin/gitweb.cgi?p=talks/20110206-fosdem.git;a=tree;h=refs/heads/pdf;hb=pdf
maybe? http://git.upsilon.cc/cgi-bin/gitweb.cgi?p=talks-pdf.git;a=blob_plain;f=2011/20110206-fosdem.pdf;hb=HEAD

and event/talks has links point upsilon.cc

webmasters claim "keep history in case links are dead" for event pages,
so the patch never touches there;

 most likely you should prepare something like www-history.d.o 
and obsoleted contents such as events pages should go there.
and/or, declare that 
"these pages are kept only for historic reason and no updates will be made"
on the page header.


apache config snippet for gitweb side (for links on external pages):
<Location /gitweb>
RewriteEngine on
RewriteCond %{QUERY_STRING} "^(.*)%3b(.*)"
RewriteRule .+ "index.cgi?%1;%2" [N]
</Location>

-- 
victory
no need to CC me :-)
-----
Index: english/devel/tech-ctte.wml
===================================================================
--- english/devel/tech-ctte.wml	(revision 232)
+++ english/devel/tech-ctte.wml	(working copy)
@@ -106,7 +106,7 @@
 <toc-add-entry name="repository">VCS repository</toc-add-entry>
 
 <p>The TC sometimes uses its
-<a href="http://anonscm.debian.org/gitweb/?p=collab-maint/debian-ctte.git";>\
+<a href="https://anonscm.debian.org/cgit/collab-maint/debian-ctte.git/";>\
 shared git repository</a>
 for collaboration.</p>
 
Index: english/devel/website/desc.wml
===================================================================
--- english/devel/website/desc.wml	(revision 232)
+++ english/devel/website/desc.wml	(working copy)
@@ -113,12 +113,12 @@
 standalone, and some of them are integrated into WML source files.</p>
 
 <p>The sources for the main www-master rebuild scripts are in the
-<a href="http://anonscm.debian.org/gitweb/?p=debwww/cron.git";>debwww/cron
+<a href="https://anonscm.debian.org/cgit/debwww/cron.git/";>debwww/cron
 Git repository</a>.
 </p>
 
 <p>The sources for the packages.debian.org rebuild scripts are in the
-<a href="https://git.debian.org/?p=webwml/packages.git";>webwml/packages
+<a href="https://anonscm.debian.org/cgit/webwml/packages.git";>webwml/packages
 Git repository</a>.</p>
 
 
Index: english/devel/website/translation_hints.wml
===================================================================
--- english/devel/website/translation_hints.wml	(revision 232)
+++ english/devel/website/translation_hints.wml	(working copy)
@@ -158,7 +158,7 @@
 <dt><tt>devel/people.wml</tt>
    <dd>Includes <tt>../../english/devel/people.names</tt> which is generated
    daily by
-   <a href="http://anonscm.debian.org/gitweb/?p=debwww/cron.git;a=tree;f=people_scripts;hb=HEAD";>a
+   <a href="https://anonscm.debian.org/cgit/debwww/cron.git/tree/people_scripts";>a
    script parsing Packages files and the developers' database</a>.
    Simply touch the people.names file if you want to build
    people.xy.html.</dd>
Index: english/doc/devel-manuals.defs
===================================================================
--- english/doc/devel-manuals.defs	(revision 232)
+++ english/doc/devel-manuals.defs	(working copy)
@@ -12,7 +12,7 @@
 	    formats="html pdf ps txt"
             srctype="SGML/XML"
             vcstype="git"
-            vcsweb="http://anonscm.debian.org/gitweb/?p=dbnpolicy/policy.git";
+            vcsweb="https://anonscm.debian.org/cgit/dbnpolicy/policy.git/";
             vcsrepo="git://anonscm.debian.org/dbnpolicy/policy"
             />
 </define-tag>
@@ -24,7 +24,7 @@
 	    formats="html pdf txt epub"
             srctype="XML"
             vcstype="git"
-            vcsweb="http://anonscm.debian.org/gitweb/?p=collab-maint/developers-reference.git";
+            vcsweb="https://anonscm.debian.org/cgit/collab-maint/developers-reference.git/";
             vcsrepo="git://anonscm.debian.org/collab-maint/developers-reference.git"
             />
 </define-tag>
@@ -35,7 +35,7 @@
             formats="html txt pdf"
             srctype="XML"
             vcstype="git"
-            vcsweb="http://anonscm.debian.org/gitweb/?p=ddp/maint-guide.git";
+            vcsweb="https://anonscm.debian.org/cgit/ddp/maint-guide.git/";
             vcsrepo="git://anonscm.debian.org/ddp/maint-guide"
             />
 </define-tag>
@@ -46,7 +46,7 @@
             formats="html txt pdf"
             srctype="XML"
             vcstype="git"
-            vcsweb="http://anonscm.debian.org/gitweb/?p=collab-maint/debmake-doc.git";
+            vcsweb="https://anonscm.debian.org/cgit/collab-maint/debmake-doc.git/";
             vcsrepo="git://anonscm.debian.org/collab-maint/debmake-doc.git"
             />
 </define-tag>
@@ -57,7 +57,7 @@
             formats="pdf"
             srctype="LaTeX"
             vcstype="git"
-            vcsweb="http://anonscm.debian.org/gitweb/?p=collab-maint/packaging-tutorial.git";
+            vcsweb="https://anonscm.debian.org/cgit/collab-maint/packaging-tutorial.git/";
             vcsrepo="git://git.debian.org/collab-maint/packaging-tutorial"
             />
 </define-tag>
Index: english/doc/devel-manuals.wml
===================================================================
--- english/doc/devel-manuals.wml	(revision 232)
+++ english/doc/devel-manuals.wml	(working copy)
@@ -287,7 +287,7 @@
   </status>
   <availability>
   <p><a href="https://d-i.alioth.debian.org/doc/internals/";>HTML online</a>.</p>
-  <p><a href="http://anonscm.debian.org/gitweb/?p=d-i/debian-installer.git;a=tree;f=doc/devel/internals";>DocBook XML source online</a>.</p>
+  <p><a href="https://anonscm.debian.org/cgit/d-i/debian-installer.git/tree/doc/devel/internals";>DocBook XML source online</a>.</p>
   </availability>
 </doctable>
 </div>
@@ -313,7 +313,7 @@
   <availability>
   <inpackage "dbconfig-common">
   <inddpsvn-dbconfig-common>
-  Additional also the <a href="/doc/manuals/dbconfig-common/dbconfig-common-design.html">design document</a> is available.
+  Additional also the <a href="dbconfig-common/dbconfig-common-design.html">design document</a> is available.
   </availability>
 </doctable>
 </div>
Index: english/doc/misc-manuals.defs
===================================================================
--- english/doc/misc-manuals.defs	(revision 232)
+++ english/doc/misc-manuals.defs	(working copy)
@@ -14,7 +14,7 @@
             naming="none"
             srctype="SGML"
             vcstype="git"
-            vcsweb="http://anonscm.debian.org/gitweb/?p=collab-maint/debiandoc-sgml-doc.git";
+            vcsweb="https://anonscm.debian.org/cgit/collab-maint/debiandoc-sgml-doc.git/";
             vcsrepo="git://git.debian.org/git/collab-maint/debiandoc-sgml-doc"
             />
 </define-tag>
Index: english/doc/user-manuals.defs
===================================================================
--- english/doc/user-manuals.defs	(revision 232)
+++ english/doc/user-manuals.defs	(working copy)
@@ -67,7 +67,7 @@
             formats="html txt" 
             srctype="XML"
             vcstype="git"
-            vcsweb="http://anonscm.debian.org/gitweb/?p=ddp/debian-reference.git";
+            vcsweb="https://anonscm.debian.org/cgit/ddp/debian-reference.git/";
             vcsrepo="git://anonscm.debian.org/ddp/debian-reference"
             />
 </define-tag>
@@ -79,7 +79,7 @@
             formats="pdf"
             srctype="XML"
             vcstype="git"
-            vcsweb="https://anonscm.debian.org/gitweb/?p=collab-maint/refcard.git";
+            vcsweb="https://anonscm.debian.org/cgit/collab-maint/refcard.git/";
             vcsrepo="git://anonscm.debian.org/collab-maint/refcard.git"
             />
 </define-tag>
@@ -90,7 +90,7 @@
             formats="html" 
             srctype="XML"
             vcstype="git"
-            vcsweb="http://anonscm.debian.org/gitweb/?p=debian-handbook/debian-handbook.git";
+            vcsweb="https://anonscm.debian.org/cgit/debian-handbook/debian-handbook.git/";
             vcsrepo="git://anonscm.debian.org/debian-handbook/debian-handbook.git"
             />
 </define-tag>
@@ -101,7 +101,7 @@
             formats="html" 
             srctype="XML"
             vcstype="git"
-            vcsweb="http://anonscm.debian.org/gitweb/?p=aptitude/aptitude.git";
+            vcsweb="https://anonscm.debian.org/cgit/aptitude/aptitude.git/";
             vcsrepo="git://anonscm.debian.org/aptitude/aptitude.git"
             />
 </define-tag>
@@ -115,7 +115,7 @@
             formats="html txt" 
             srctype="XML"
             vcstype="git"
-            vcsweb="http://anonscm.debian.org/gitweb/?p=apt/apt.git";
+            vcsweb="https://anonscm.debian.org/cgit/apt/apt.git/";
             vcsrepo="git://anonscm.debian.org/apt/apt.git"
             />
 </define-tag>
@@ -129,7 +129,7 @@
             formats="html txt" 
             srctype="XML"
             vcstype="git"
-            vcsweb="http://anonscm.debian.org/gitweb/?p=apt/apt.git";
+            vcsweb="https://anonscm.debian.org/cgit/apt/apt.git/";
             vcsrepo="git://anonscm.debian.org/apt/apt.git"
             />
 </define-tag>
Index: english/News/weekly/2011/12/index.wml
===================================================================
--- english/News/weekly/2011/12/index.wml	(revision 232)
+++ english/News/weekly/2011/12/index.wml	(working copy)
@@ -91,7 +91,7 @@
 some FreedomBox developers worked together, fixing various
 problems: Bdale developed <q>freedom-maker</q>, a lightweight toolset
 to build FreedomBox software images, which is now available on the <a
-href="http://anonscm.debian.org/gitweb/?p=freedombox/freedom-maker.git;a=summary";>git
+href="https://anonscm.debian.org/cgit/freedombox/freedom-maker.git/";>git
 repository of the project</a>. Jonas Smedegaard continued to work on an
 alternate packaging toolset, <a
 href="http://git.emdebian.org/?p=upstream/boxer.git;a=summary";><q>boxer</q></a>.
Index: english/News/weekly/2014/10/index.wml
===================================================================
--- english/News/weekly/2014/10/index.wml	(revision 232)
+++ english/News/weekly/2014/10/index.wml	(working copy)
@@ -47,7 +47,7 @@
 Debian archive. The origins of the project go back to the introduction of
 the <a href="https://packages.debian.org/autopkgtest";>autopkgtest tool</a>,
 which tests packages in their installed form, and was later adopted as the 
-<a href="http://anonscm.debian.org/gitweb/?p=autopkgtest/autopkgtest.git;a=blob_plain;f=doc/README.package-tests;hb=HEAD";>DEP-8 standard</a>.
+<a href="https://anonscm.debian.org/cgit/autopkgtest/autopkgtest.git/plain/doc/README.package-tests.rst";>DEP-8 standard</a>.
 The continuous integration tool, called
 <a href="https://packages.debian.org/debci";>debci</a>, is run against the entire archive for 
 packages that declare a test suite using the DEP-8 format. Debian CI runs at most four tests per day
Index: english/News/weekly/2014/11/index.wml
===================================================================
--- english/News/weekly/2014/11/index.wml	(revision 232)
+++ english/News/weekly/2014/11/index.wml	(working copy)
@@ -20,7 +20,7 @@
 S.M. Floris gives an status update to <a href="http://web2unu.ro/?p=51";>Muon package integration with apt-listbugs</a>:
 apt-listbugs will warn users when installing packages if those packages have
 serious, grave, or critical bugs. The muon package is available in the
-<a href="http://anonscm.debian.org/gitweb/?p=pkg-kde/kde-extras/muon.git";>Git repository for the muon package on Alioth</a>
+<a href="https://anonscm.debian.org/cgit/pkg-kde/kde-extras/muon.git/";>Git repository for the muon package on Alioth</a>
 under the gsoc-floris-2014 branch.
 
 Ian S. Donnelly takes us through his 4 week experience and process of


Reply to: