Closed Bug 1370694 Opened 8 years ago Closed 8 years ago

vcssync code refactoring

Categories

(Developer Services :: Servo VCS Sync, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: gps, Assigned: gps)

References

(Blocks 1 open bug)

Details

Attachments

(3 files, 2 obsolete files)

Creating bug for misc patches I wrote in pursuit of bug 1357597.
Comment on attachment 8875025 [details] vcssync: install nose in virtualenv (bug 1370694); https://reviewboard.mozilla.org/r/146374/#review152764 ::: vcssync/test-requirements.txt:14 (Diff revision 1) > +nose==1.3.7 \ > + --hash=sha256:dadcddc0aefbf99eea214e0f1232b94f2fa9bd98fa8353711dacb112bfcbbb2a may as well bump the version of nose in other /test-requirements.txt and testing/requirements-hgdev.txt from 1.3.4 to 1.3.7
Attachment #8875025 - Flags: review?(glob) → review+
Comment on attachment 8875026 [details] vcssync: framework for test only CLI commands (bug 1370694); https://reviewboard.mozilla.org/r/146376/#review152770 ::: vcssync/setup.py:14 (Diff revision 1) > +if 'VCSSYNC_ENABLE_TESTING_COMMANDS' in os.environ: > + console_scripts.extend([ > + ]) this code doesn't do anything. better to add this when it's required rather than have dead code in the repo.
Attachment #8875026 - Flags: review?(glob) → review-
Comment on attachment 8875027 [details] testing: check for pip when determining if virtualenv exists (bug 1370694); https://reviewboard.mozilla.org/r/146378/#review152774
Attachment #8875027 - Flags: review?(glob) → review+
Comment on attachment 8875028 [details] vcssync: upgrade to Mercurial 4.2 (bug 1370694); https://reviewboard.mozilla.org/r/146380/#review152776 ::: commit-message-3280e:6 (Diff revision 1) > +and color) just work. (This was actually what spurred me to do this: > +I didn't like my virtualenv's hg 4.1 not working like 4.2.) heh; a long time ago i added a workaround to my dev env so command line hg actions use my system-installed mercurial instead of the venv's.
Attachment #8875028 - Flags: review?(glob) → review+
Comment on attachment 8875029 [details] vcssync: support deleting refs in `git update-ref` helper (bug 1370694); https://reviewboard.mozilla.org/r/146382/#review152778 like some of the other changes here i'm not convinced this is actually refactoring, and it seems out of place here, but it looks fine.
Attachment #8875029 - Flags: review?(glob) → review+
Comment on attachment 8875026 [details] vcssync: framework for test only CLI commands (bug 1370694); https://reviewboard.mozilla.org/r/146376/#review154252 sorry, let's land this as-is. i'll race you to get something landed that uses it.
Attachment #8875026 - Flags: review- → review+
Attachment #8875025 - Attachment is obsolete: true
Attachment #8875028 - Attachment is obsolete: true
Pushed by gszorc@mozilla.com: https://hg.mozilla.org/hgcustom/version-control-tools/rev/b97c7c9cd436 vcssync: framework for test only CLI commands ; r=glob https://hg.mozilla.org/hgcustom/version-control-tools/rev/7676a8af6b2d testing: check for pip when determining if virtualenv exists ; r=glob https://hg.mozilla.org/hgcustom/version-control-tools/rev/e4bcd39b49ee vcssync: support deleting refs in `git update-ref` helper ; r=glob
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: