Opened 6 months ago

Closed 6 months ago

Last modified 6 months ago

#28477 closed task (fixed)

Please add staging version for tb-manual

Reported by: emmapeel Owned by: weasel
Priority: Medium Milestone:
Component: Internal Services/Service - jenkins Version:
Severity: Normal Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description (last modified by emmapeel)

It would be great to have a staging version for the tb-manual.torproject.org, just as we have for support.torproject.org ( support-staging.torproject.org )

It is great for preparing to release new translations, as incomplete translations can be tested and reviewed there.

(It is also important to test other big changes before push them to master, ofc)

Child Tickets

Change History (6)

comment:1 Changed 6 months ago by weasel

I propose we simply build all branches, and put the master branch for each lektor build into / and have the other branches install into /branches/<foo>/.

That'll require relative links for everything, but that is proper anyhow.

Opinions?

comment:2 Changed 6 months ago by emmapeel

I like your idea because it means less work for sysadmins!

comment:3 Changed 6 months ago by emmapeel

Description: modified (diff)

typo

comment:4 Changed 6 months ago by weasel

Resolution: fixed
Status: newclosed

It's now on https://lektor-staging.torproject.org/ with the other staging things.

The absolute links probably still need to be replaced by relative ones.

comment:5 in reply to:  4 Changed 6 months ago by emmapeel

Replying to weasel:

The absolute links probably still need to be replaced by relative ones.

I am sorry but i dont see how to replace all the relative links, and I think that doing so will create other problems.

I have made relative the images, with a little sed it was done. That is not problematic.

But all the internal links now should be made hardcoded, and that would break the language paths.

Also, for the css, there is a nice caching of assets that does not work with relative paths. If I give absolute paths I would send tor users to the clearnet... is a mess.

I think maybe on https://lektor-staging.torproject.org' hosts file some magic can be done but it will break a lot of functionality and templates that give the objects urls.

Also: translators were using https://support-staging.torproject.org/ , it was working ok... now is gone.

comment:6 Changed 6 months ago by hiro

This is fixed now. We can work with the lektor-staging model.

Note: See TracTickets for help on using tickets.