[meta] version-control-tools cleanups
Categories
(Developer Services :: Mercurial: hg.mozilla.org, task)
Tracking
(Not tracked)
People
(Reporter: sheehan, Assigned: mhentges)
References
Details
(Keywords: leave-open, meta)
Attachments
(7 files)
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
47 bytes,
text/x-phabricator-request
|
Details | Review |
There is a lot of code in version-control-tools that could use a cleanup and/or is candidate for removal. Off the top of my head:
- some dead server extensions (ie from the MozReview days; overlay, manualoverlay) that can be removed
- some bitrotted client extensions (bzpost, bzexport, mqext, q{backout,importbz}) that should be removed or cleaned up
- dead test code (especially some unnecessary docker image builds in the test suite, like bmo)
- lots of compatibility code spread throughout the codebase. These are annotated with
# TRACKING hgxxfor the most part.
Filing this bug to track cleanups to the repo.
| Reporter | ||
Comment 1•6 years ago
|
||
Removing this extension as it has not been updated since Mercurial
4.2 was released, it is not installed in configwizard and it is
not recommended for use.
| Reporter | ||
Comment 2•6 years ago
|
||
Core mq has been deprecated for ages, so our helper
extensions should also be deprecated. This commit removes
the mq related extensions from version-control-tools.
| Reporter | ||
Comment 3•6 years ago
|
||
After landing much of the wire protocol v2 work upstream, we
started finding lots of bugs and patching over them in v-c-t,
with the intent of finding more issues and fix them upstream
after some experimentation. Since there are no plans to continue
working on this for the time being, I'm removing it, as well as
some of the related tests.
Comment 6•6 years ago
•
|
||
Any reason hg reviewers was removed? While it lived in mqext, it wasn't actually related to mq, and it was quite useful: given a file, it listed people who reviewed changes to that file, sorted by number of changes reviewed.
| Reporter | ||
Comment 7•6 years ago
|
||
Ah, you're right. I filed bug 1592429 to track restoring it.
| Assignee | ||
Comment 8•6 years ago
|
||
Many tests used "mq" for its "strip" command, so this commit updates them to use the "strip" extension directly. Also, this removes logic from various extensions that handled mq-specific cases
Updated•6 years ago
|
| Assignee | ||
Comment 9•6 years ago
|
||
There's still a lot of references in the docs to mq, but I'm assuming we're going to want to keep that for another little while
Updated•6 years ago
|
Comment 10•6 years ago
|
||
| Assignee | ||
Comment 11•6 years ago
|
||
qbackout and qimportbz have been removed, so documenting them under the list of extensions isn't necessary anymore.
Also removes references from moz.build
| Assignee | ||
Comment 12•6 years ago
|
||
What work still needs to be done for this ticket?
What's the oldest hg version we support? I looked through the # TRACKING notes in the repo, and the oldest targeted version is hg46.
Other than that, is there anything else in particular that this ticket wants to resolve?
| Assignee | ||
Comment 13•6 years ago
|
||
After a brief discussion with sheehan, we don't believe that this file is used, so it should be safe to remove
Depends on D59770
Comment 14•6 years ago
|
||
| Assignee | ||
Comment 15•6 years ago
|
||
An old TODO by gps recommends removing an ansible task that would remove an obsolete supervisor config, this accomplishes that
| Reporter | ||
Comment 16•6 years ago
|
||
(In reply to Mitchell Hentges [:mhentges] from comment #12)
What work still needs to be done for this ticket?
Most of the stuff listed in the bug description is finished. We could reasonably close it out now.
What's the oldest
hgversion we support? I looked through the# TRACKINGnotes in the repo, and the oldest targeted version ishg46.
The oldest version we support is supposed to be 4.9. Some things like robustcheckout still have support for older versions since our CI hasn't been updated to a newer Mercurial in some time (which I'm working on at the moment).
Other than that, is there anything else in particular that this ticket wants to resolve?
The specific things we wanted resolved are in the description - other than that, attaching random other cleanups here is fine.
| Assignee | ||
Comment 17•6 years ago
|
||
Ok, I'll mark this as closed, while allowing some other various cleanups to keep being associated with the same bug id 👍
Comment 18•6 years ago
|
||
Description
•