freedesktop.org trash-spec links broken

Vincent Untz vuntz at gnome.org
Thu Mar 15 02:45:01 PDT 2012


Le jeudi 15 mars 2012, à 10:16 +0100, David Faure a écrit :
> On Wednesday 14 March 2012 18:04:04 Vincent Untz wrote:
> > Le mercredi 14 mars 2012, à 17:41 +0100, David Faure a écrit :
> > > On Tuesday 13 March 2012 11:16:43 Vincent Untz wrote:
> > > > Le mardi 13 mars 2012, à 11:05 +0100, David Faure a écrit :
> > > > > I'm a bit confused because for other specs in git it looks like
> > > > > there's
> > > > > just the latest file, but on the website there are older versions. So
> > > > > I
> > > > > suppose the web site is maintained manually, with copies of old specs?
> > > > 
> > > > Nope, we use the git history to fetch old versions. See files in
> > > > http://cgit.freedesktop.org/xdg/xdg-specs/tree/web-export
> > > 
> > > Ah! Funky. OK, I did that too. Can you run the script on the website? I
> > > suppose that's the part I can't do myself.
> > 
> > Thanks for doing the import! It's now online:
> > http://specifications.freedesktop.org/trash-spec/trashspec-latest.html
> 
> Thanks!
> 
> This showed me a bug (version number), which I just fixed in git. Will the 
> online version be updated automatically, or do you need to run the script by 
> hand every time?

Right now, we need to manually run the script. If you have an account on
gabe and are in the standards group, it's just a matter of doing this:

cd /srv/specifications.freedesktop.org/www
../update.py

(it's important to be in the right directory)

I guess we could add a post-commit hook, or a cron job, though.

Vincent

-- 
Les gens heureux ne sont pas pressés.


More information about the xdg mailing list