Closed Bug 466713 Opened 16 years ago Closed 16 years ago

l10n-mozilla-1.9.1 should be visible in http://hg.mozilla.org/releases

Categories

(mozilla.org Graveyard :: Server Operations, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: bhearsum, Unassigned)

References

Details

      No description provided.
l10n-central isn't visible on http://hg.mozilla.org/ for the same reason that l10n-mozilla-1.9.1 isn't visible on http://hg.mozilla.org/releases/. hgweb just doesn't support displaying a non-repo, so that's why the bottom section of the hgweb pages has a list of various subdirectories.
Okay...then it should be visible at the bottom. Currently, l10n-mozilla-1.9.1 is not linked to from _anywhere_ on hgweb.
releases  	Release branches (use releases/l10n-branchname for l10n repos).

It's not directly linked, but Aravind did try to point it out. :)
OS: Mac OS X → All
Hardware: PC → All
Ok, I'm guilty of not reading hard enough. It'd still be nice to have a real link though...
This is a wontfix, simply because its not feasible with the way our hgweb works.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → WONTFIX
are we completely unable to link to it at least from under /releases/ ?
(In reply to comment #6)
> are we completely unable to link to it at least from under /releases/ ?

We use the same footer.php across all of our templates.  So it would not make sense to link it there.

The links generated in the top level pages (like hg.m.o, or hg.m.o/releases, or hg.m.o/labs etc) point to real repositories contained within those top levels and not to index pages.  These links are auto generated in the mercurial wsgi.  An an example, here is the configuration for releases.

[root@dm-svn01 releases]# cat hgweb.config 
[paths]
mozilla-1.9.1 = /repo/hg/mozilla/releases/mozilla-1.9.1
[root@dm-svn01 releases]# cat hgwebdir.wsgi 
#!/usr/bin/env python

from mercurial.hgweb.hgwebdir_mod import hgwebdir
from mercurial.hgweb.request import wsgiapplication

import os
os.environ["HGENCODING"] = "UTF-8"

def make_web_app():
    return hgwebdir("/repo/hg/webroot_wsgi/releases/hgweb.config")

application = wsgiapplication(make_web_app)

[root@dm-svn01 releases]# 

There may be some trickery we could use to get the links to show up, but afaik its a wontfix.
Sorry, I meant we use the same index.templ file across all the repos (not footer.php!).  Maybe we could try some fancy python conditions in that index.templ file to show the l10n branches within releases etc.. but that's beyond me.
Product: mozilla.org → mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.