DeveloperServices/git: Difference between revisions
(create) |
(update with decom status & FxOS pointers) |
||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
Git DVCS Service | Git DVCS Service | ||
{{Admon/caution|<code>git.mozilla.org</code> is being shut down|See {{bug|1277297}} for details, and below for information on finding content formerly stored here.}} | |||
= Overview = | = Overview = | ||
<code>git.mozilla.org</code> | <code>git.mozilla.org</code> used to be our primary Git service access point. It used to mirrored all FxOS related code, including mirrors of upstream repositories used in building FxOS. It was never the "Repository of Record" for any Mozilla project. | ||
All FxOS mirror repositories have been removed, however the repositories are available from their upstream source. The upstream source should be listed in the manifest file for the device you're building. Those manifests can be found in the [https://github.com/mozilla-b2g/b2g-manifest b2g-manifest] repository. (Unfortunately, some manifests were not correctly maintained - you may need to look at older revisions of the manifest if the latest points to <code>git.mozilla.org</code>. | |||
All other (non-FxOS) repositories have been moved elsewhere, mostly to [[https://github.com/ GitHub]]. | |||
<div id="status"></div> | <div id="status"></div> | ||
= Status = | = Status = | ||
The high level status of git and supporting infrastructure can be seen on the [ | The high level status of git and supporting infrastructure can be seen on the [https://status.mozilla.org/ main Mozilla status page]. You can also view [http://hwine.github.io/gitstats#mem-load current host load] and [https://hwine.github.io/gitstats#apache-overview Apache traffic]. | ||
= FAQ = | |||
* '''I get a 404 in my browser then I access the repository via the URL on the summary page!''' | |||
** The URLs listed on a repository's summary page are useful only with git, and you can not web browse the repository using the same URL. For example, using the [http://git.mozilla.org/?p=bugzilla/bugzilla.git;a=summary Bugzilla repository] as an example: | |||
<pre> | |||
# HTTP(S) is not supported | |||
$ curl -s -I https://git.mozilla.org/bugzilla/bugzilla.git | grep ^HTTP | |||
HTTP/1.1 404 Not Found | |||
# git+http is supported | |||
$ git ls-remote https://git.mozilla.org/bugzilla/bugzilla.git master | |||
6419b7fcbf9c8efa2d7b55c7e40cfbdf08a5cd5c refs/heads/master | |||
# git+ssh is supported | |||
$ git ls-remote ssh://gitolite3@git.mozilla.org/bugzilla/bugzilla.git master | |||
6419b7fcbf9c8efa2d7b55c7e40cfbdf08a5cd5c refs/heads/master | |||
</pre> | |||
<div id="troubleshooting"></div> | <div id="troubleshooting"></div> | ||
= Troubleshooting and Problem Reporting = | = Troubleshooting and Problem Reporting = | ||
Note: see also the [[#references|references section]] for tips and tools to avoid issues. | Note: see also the [[#references|references section]] for tips and tools to avoid issues. | ||
Line 19: | Line 44: | ||
If you suspect issues, please follow the steps in order until you get a response: | If you suspect issues, please follow the steps in order until you get a response: | ||
# Check [[#status|status]] | # Check [[#status|status]] and [[#known_issues|known issues]] | ||
# For Firefox related work, ask the sheriffs in #releng or #developers | # For Firefox related work, ask the sheriffs in #releng or #developers | ||
# For FxOS related work, ask in #b2g | # For FxOS related work, ask in #b2g | ||
# File a bug under [https://bugzilla.mozilla.org/enter_bug.cgi?component= | # File a bug under [https://bugzilla.mozilla.org/enter_bug.cgi?component=Git&product=Developer%20Services Developer Services :: Git] | ||
#* please include an accurate time (with time zone) | #* please include an accurate time (with time zone) | ||
#* please be specific about error codes - there's a big difference between 500 (hg) and 503 (load balancer)! | #* please be specific about error codes - there's a big difference between 500 (hg) and 503 (load balancer)! | ||
# If urgent and important, escalate bug to #moc (they escalate to [[DeveloperServices]] as needed) | # If urgent and important, escalate bug to #moc (they escalate to [[DeveloperServices]] as needed) | ||
<div id="known_issues"></div> | |||
== Known Issues == | |||
Currently open (will improve search over time): | |||
<bugzilla> | |||
{ | |||
"quicksearch": "OPEN", | |||
"order": "bug_id DESC", | |||
"product": "Developer Services", | |||
"component": "git", | |||
"include_fields": "id,priority,summary" | |||
} | |||
</bugzilla> | |||
= Recent Changes = | = Recent Changes = | ||
[https://bugzilla.mozilla.org/buglist.cgi?list_id=11918881&resolution=FIXED&chfieldto=Now&chfield=bug_status&query_format=advanced&chfieldfrom=-2w&chfieldvalue=resolved&bug_status=RESOLVED&bug_status=VERIFIED&component=git&product=Developer%20Services Bugs fixed] in last 2 weeks: | |||
<bugzilla> | |||
{ | |||
"resolution": "fixed", | |||
"status": ["RESOLVED", "VERIFIED"], | |||
"chfieldfrom": "-2w", | |||
"chfield": "resolution", | |||
"chfieldvalue": "fixed", | |||
"product": "Developer Services", | |||
"component": "git", | |||
"include_fields": "id,priority,summary" | |||
} | |||
</bugzilla> | |||
= Requesting Services = | = Requesting Services = |
Latest revision as of 15:34, 19 September 2016
Git DVCS Service
Overview
git.mozilla.org
used to be our primary Git service access point. It used to mirrored all FxOS related code, including mirrors of upstream repositories used in building FxOS. It was never the "Repository of Record" for any Mozilla project.
All FxOS mirror repositories have been removed, however the repositories are available from their upstream source. The upstream source should be listed in the manifest file for the device you're building. Those manifests can be found in the b2g-manifest repository. (Unfortunately, some manifests were not correctly maintained - you may need to look at older revisions of the manifest if the latest points to git.mozilla.org
.
All other (non-FxOS) repositories have been moved elsewhere, mostly to [GitHub].
Status
The high level status of git and supporting infrastructure can be seen on the main Mozilla status page. You can also view current host load and Apache traffic.
FAQ
- I get a 404 in my browser then I access the repository via the URL on the summary page!
- The URLs listed on a repository's summary page are useful only with git, and you can not web browse the repository using the same URL. For example, using the Bugzilla repository as an example:
# HTTP(S) is not supported $ curl -s -I https://git.mozilla.org/bugzilla/bugzilla.git | grep ^HTTP HTTP/1.1 404 Not Found # git+http is supported $ git ls-remote https://git.mozilla.org/bugzilla/bugzilla.git master 6419b7fcbf9c8efa2d7b55c7e40cfbdf08a5cd5c refs/heads/master # git+ssh is supported $ git ls-remote ssh://gitolite3@git.mozilla.org/bugzilla/bugzilla.git master 6419b7fcbf9c8efa2d7b55c7e40cfbdf08a5cd5c refs/heads/master
Troubleshooting and Problem Reporting
Note: see also the references section for tips and tools to avoid issues.
If you suspect issues, please follow the steps in order until you get a response:
- Check status and known issues
- For Firefox related work, ask the sheriffs in #releng or #developers
- For FxOS related work, ask in #b2g
- File a bug under Developer Services :: Git
- please include an accurate time (with time zone)
- please be specific about error codes - there's a big difference between 500 (hg) and 503 (load balancer)!
- If urgent and important, escalate bug to #moc (they escalate to DeveloperServices as needed)
Known Issues
Currently open (will improve search over time):
No results.
0 Total; 0 Open (0%); 0 Resolved (0%); 0 Verified (0%);
Recent Changes
Bugs fixed in last 2 weeks:
No results.
0 Total; 0 Open (0%); 0 Resolved (0%); 0 Verified (0%);
Requesting Services
- New repository: please follow this process
References
Git is used slightly differently by different teams (e.g. localization vs coding). In general, consult with others where differences are noted.