Closed Bug 877814 Opened 11 years ago Closed 11 years ago

Please create 2 new repos for b2g support on hg.m.o

Categories

(Developer Services :: General, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: hwine, Assigned: fubar)

References

Details

(Whiteboard: [reit-b2g])

Please create two hg repos:

First repo:
 releases/mozilla-b2g18_v1_1_0_hd
as a clone of
 releases/mozilla-b2g18

with:
 - same permissions as  as releases/mozilla-b2g18
 - same hooks as releases/mozilla-b2g18
 - same description as releases/mozilla-b2g18

Second repo:
 integration/gaia-1_1_0_hd

with:
 - write only by user vcs-sync@m.c; read by world
 - same hooks as integration/gaia-central
Summary: Please create 2 new repos for b2g support on {git,hg}.m.o → Please create 2 new repos for b2g support on hg.m.o
Assignee: server-ops-devservices → klibby
Blocks: 877752
Status?

I found both repos created and visible via web interfaces, so assumed they were good to go.

However, releases/mozilla-b2g18_v1_1_0_hd does not have a functional pushlog, as indicated by the message:
pushing to ssh://hg.mozilla.org/releases/mozilla-b2g18_v1_1_0_hd
searching for changes
remote: adding changesets
remote: adding manifests
remote: adding file changes
remote: added 2 changesets with 2 changes to 1 files
remote: error: changegroup.z_loghistory hook raised an exception: attempt to write a readonly database

And there is no pushlog content even for the original clone, per:
  https://hg.mozilla.org/releases/mozilla-b2g18_v1_1_0_hd/pushloghtml

My apologies if I jumped the gun -- please coordinate with me if you do need to reset the repo (I've pushed some changes -- I can repush those, but devs may make changes as well)
Flags: needinfo?(klibby)
Hrm. pushlog was owned by root and not group writeable, but it's not created as part of the cloning process (nor is it carried over in any way), so I'm not sure how that happened. I'll have to go digging and/or ask bkero when he's up. 

As for fixing the missing pushlog entries, I don't have docs handy on how to do that. Let's touch base when you're around.
Flags: needinfo?(klibby)
Talked with Hal on IRC and we decided to go with a reset since there were no other commits. Re-cloned to rev fad8ae06867b.

note: cloning to a specific rev takes nearly an hour, unlike tip clones. it also creates pushlog2.db (15mb? way larger than the source's pushlog).

[root@hgssh1.dmz.scl3 releases]# ll mozilla-b2g18_v1_1_0_hd/.hg/pushlog2.db 
-rw-rw-r-- 1 hg scm_level_3 15757312 May 31 10:06 mozilla-b2g18_v1_1_0_hd/.hg/pushlog2.db


[hg@hgssh1.dmz.scl3 releases]$ time hg clone -U -r fad8ae06867b mozilla-b2g18 mozilla-b2g18_v1_1_0_hd
adding changesets
adding manifests
adding file changes
added 112863 changesets with 630451 changes to 109606 files
Trying to insert into pushlog.
Please do not interrupt...
Inserted into the pushlog db successfully.

real    56m37.607s
user    52m14.061s
sys     0m40.713s

[hg@hgssh1.dmz.scl3 mozilla-b2g18_v1_1_0_hd]$ hg tip
changeset:   112862:fad8ae06867b
tag:         tip
user:        Vincent Liu <vliu@mozilla.com>
date:        Fri May 24 10:38:31 2013 +0800
summary:     Bug 864588 - [B2G] [Leo] [Internet Sharing] USB tethering turns off almost immediately after being turned on. r=vchang, a=leo+
As it turns out, cloning to a specific rev doesn't get you all of the branches, etc.  Restored new clone from snapshot, stripped the top two pushes and fixed perms. Hal re-pushed and verified that all was well.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Component: Server Operations: Developer Services → General
Product: mozilla.org → Developer Services
You need to log in before you can comment on or make changes to this bug.