Closed
Bug 1105430
Opened 11 years ago
Closed 11 years ago
Use github.com/mozilla/build-cloud-tools as RoR
Categories
(Release Engineering :: General, defect)
Release Engineering
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: rail, Assigned: rail)
References
Details
Attachments
(5 files, 2 obsolete files)
|
5.75 KB,
patch
|
rail
:
review+
rail
:
checked-in+
|
Details | Diff | Splinter Review |
|
854 bytes,
patch
|
hwine
:
review-
|
Details | Diff | Splinter Review |
|
1.16 KB,
patch
|
catlee
:
review+
rail
:
checked-in+
|
Details | Diff | Splinter Review |
|
629 bytes,
patch
|
Details | Diff | Splinter Review | |
|
1.52 KB,
patch
|
catlee
:
review+
rail
:
checked-in+
|
Details | Diff | Splinter Review |
If there are no objections, we'll need:
* Implement git::repo for PuppetAgain, something like http://hg.mozilla.org/build/puppet/file/6e119c99de67/modules/mercurial/manifests/repo.pp, to be used by http://hg.mozilla.org/build/puppet/file/6e119c99de67/modules/aws_manager/manifests/install.pp#l42
* stop syncyng from hg.m.o to github
* enable syncing from github to git.m.o
* obsolete the hg repo
* enable git::repo against git.m.o
* update the docs
Anything missing here?
Comment 1•11 years ago
|
||
if we have the hg repo existing, I'd *much* prefer we continue to sync to it, just lock it instead.
We can even do this work and switch puppet to use gitmo/github after the fact if we keep hg.m.o cloud tools being mirrored from git.
| Assignee | ||
Comment 2•11 years ago
|
||
vcs conversion would add extra complexity to the system... I'd rather just sync repos without conversion.
| Assignee | ||
Comment 3•11 years ago
|
||
The patch doesn't take care of the existing hg checkout, I can deal with them manually as a one off.
Attachment #8529210 -
Flags: review?(dustin)
| Assignee | ||
Comment 4•11 years ago
|
||
oops, forgot to add the new files.
Attachment #8529210 -
Attachment is obsolete: true
Attachment #8529210 -
Flags: review?(dustin)
Attachment #8529222 -
Flags: review?(dustin)
Comment 5•11 years ago
|
||
Comment on attachment 8529222 [details] [diff] [review]
git-repo-puppet-1.diff
Review of attachment 8529222 [details] [diff] [review]:
-----------------------------------------------------------------
r+ assuming suggested fix
::: modules/config/manifests/base.pp
@@ +293,5 @@
> $cloudtrail_s3_bucket = ""
> # s3 prefix name for aws_manager log parsing
> $cloudtrail_s3_base_prefix = ""
> # mercurial repository and branch for cloud-tools
> + $cloud_tools_hg_repo = "https://git.mozilla.org/build/build-cloud-tools"
s/hg/git/g
Attachment #8529222 -
Flags: review?(dustin) → review+
| Assignee | ||
Comment 6•11 years ago
|
||
with cloud_tools_hg_repo fixed, carry over r=dustin
Attachment #8529222 -
Attachment is obsolete: true
Attachment #8529919 -
Flags: review+
| Assignee | ||
Comment 7•11 years ago
|
||
Not sure if this patch is enough.. Probably also need to delete the hg clone on the vcssync box, all recreate the whole directory all together.
Attachment #8529920 -
Flags: review?(hwine)
Comment on attachment 8529920 [details] [diff] [review]
repo-sync-configs.diff
Review of attachment 8529920 [details] [diff] [review]:
-----------------------------------------------------------------
This actually needs to be done in several steps:
- ensure git copy up to date
- disable current mirroring
- delete hg repo
- change permissions on git repo to enable commits
Note: git->hg mirroring is only supported by legacy. We don't want more repos using legacy code if at all possible. If it's really important to have hg copies, the suggestion would be to leave things as they are.
Attachment #8529920 -
Flags: review?(hwine) → review-
| Assignee | ||
Comment 9•11 years ago
|
||
The intent was to have git-to-git mirroring set up. Pete tells me that it's not supported by the modern vcs2vcs system. Do we ever support this? If not, I'm going to just disable the existing conversion and go with the github repo only.
Flags: needinfo?(hwine)
| Assignee | ||
Comment 10•11 years ago
|
||
Stop vcs syncing hg.m.o to github.
Flags: needinfo?(hwine)
Attachment #8536668 -
Flags: review?(catlee)
| Assignee | ||
Comment 11•11 years ago
|
||
These configs are not used anywhere.
Attachment #8536670 -
Flags: review?(hwine)
| Assignee | ||
Comment 12•11 years ago
|
||
Comment on attachment 8529919 [details] [diff] [review]
git-repo-puppet.diff
remote: https://hg.mozilla.org/build/puppet/rev/99c439936884
remote: https://hg.mozilla.org/build/puppet/rev/c62d735cc618
Had to add path to git command
Attachment #8529919 -
Flags: checked-in+
Updated•11 years ago
|
Attachment #8536697 -
Flags: review?(catlee) → review+
| Assignee | ||
Comment 14•11 years ago
|
||
Comment on attachment 8536697 [details] [diff] [review]
git-q.diff
remote: https://hg.mozilla.org/build/puppet/rev/f27f3635e95d
remote: https://hg.mozilla.org/build/puppet/rev/d21ba81e2a33
Attachment #8536697 -
Flags: checked-in+
Updated•11 years ago
|
Attachment #8536668 -
Flags: review?(catlee) → review+
| Assignee | ||
Comment 15•11 years ago
|
||
Comment on attachment 8536668 [details] [diff] [review]
mozharness_stop_syncing_cloud-tools.diff
remote: https://hg.mozilla.org/build/mozharness/rev/69259feae977
remote: https://hg.mozilla.org/build/mozharness/rev/fad592f3ab3a
Attachment #8536668 -
Flags: checked-in+
Comment 16•11 years ago
|
||
mozharness change merged to production.
Comment 17•11 years ago
|
||
Okay, so here's what will happen regarding the respositories:
- start mirror https://github.com/mozilla/build-cloud-tools -> https://git.mozilla.org/build/cloud-tools.git
- disable commit access to https://hg.mozilla.org/build/cloud-tools/
- remove mirror from https://hg.mozilla.org/build/cloud-tools/ -> https://github.com/mozilla/build-cloud-tools
At that point, all future commits will be made on github.
Flags: needinfo?(rail)
| Assignee | ||
Comment 18•11 years ago
|
||
(In reply to Hal Wine [:hwine] (use needinfo) from comment #17)
> Okay, so here's what will happen regarding the respositories:
> - start mirror https://github.com/mozilla/build-cloud-tools ->
> https://git.mozilla.org/build/cloud-tools.git
I'm going to file a separate file for this.
> - disable commit access to https://hg.mozilla.org/build/cloud-tools/
I deleted the files in https://hg.mozilla.org/build/cloud-tools/rev/86fbbd2df71d.
> - remove mirror from https://hg.mozilla.org/build/cloud-tools/ ->
> https://github.com/mozilla/build-cloud-tools
This is done already.
> At that point, all future commits will be made on github.
Already pushing to that repo! :)
Flags: needinfo?(rail)
| Assignee | ||
Updated•11 years ago
|
Attachment #8536670 -
Flags: review?(hwine)
| Assignee | ||
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•9 years ago
|
Component: Tools → General
You need to log in
before you can comment on or make changes to this bug.
Description
•