Closed Bug 1070477 Opened 10 years ago Closed 10 years ago

The file containing the deployed production Git revision is not publicly accessible

Categories

(Tree Management :: Treeherder, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1081059

People

(Reporter: emorley, Unassigned)

Details

The Chief production script does:

 # Write info about the current repository state to a publicly visible file.
ctx.local('date')
ctx.local('git branch')
ctx.local('git log -3')
ctx.local('git status')
ctx.local('git submodule status')
ctx.local('git rev-parse HEAD > treeherder/webapp/media/revision')

The file 'treeherder/webapp/media/revision' is created, but inside the service repo. This repo isn't synced to /data/www/ so isn't accessible as far as I can tell.

TBPL's equivalent file (https://tbpl.mozilla.org/cache/revision_info.txt) has proved itself to be extremely useful, so it would be good to fix this, so we have the same for treeherder.
Blocks: 1072681
Blocks: 1080757
No longer blocks: 1072681
It's there: https://treeherder.mozilla.org/media/revision

(also, the chief ircbot wants this, so \o/)
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
(In reply to Kendall Libby [:fubar] from comment #1)
> It's there: https://treeherder.mozilla.org/media/revision
> 
> (also, the chief ircbot wants this, so \o/)

This was fixed by bug 1081059.

However the revision is wrong, which I'll file another bug for.
No longer blocks: 1080757
Resolution: INVALID → DUPLICATE
(In reply to Ed Morley [:edmorley] from comment #2)
> (In reply to Kendall Libby [:fubar] from comment #1)
> > It's there: https://treeherder.mozilla.org/media/revision
> 
> However the revision is wrong, which I'll file another bug for.

Bug 1088705
You need to log in before you can comment on or make changes to this bug.