Closed
Bug 875599
Opened 12 years ago
Closed 11 years ago
Delete dead code in tools repo
Categories
(Infrastructure & Operations Graveyard :: CIDuty, task)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: pmoore, Assigned: pmoore)
References
()
Details
Attachments
(2 files, 2 obsolete files)
205.89 KB,
patch
|
kmoir
:
review+
Callek
:
feedback+
|
Details | Diff | Splinter Review |
1.30 KB,
patch
|
Callek
:
review+
|
Details | Diff | Splinter Review |
In tools repository, we have many scripts (and some files) both in sut_tools/ and buildfarm/mobile/ that we consider obsolete at this point, and can be removed, which cleans clutter. Along this vein we have functions/classes that are also unused/dead. All should be removed.
Assignee | ||
Comment 1•12 years ago
|
||
Please can you guys review to check I'm not ditching anything we need! Thanks, Pete
Assignee: nobody → pmoore
Status: NEW → ASSIGNED
Attachment #753576 -
Flags: review?(kmoir)
Attachment #753576 -
Flags: review?(bugspam.Callek)
Comment 2•12 years ago
|
||
Comment on attachment 753576 [details] [diff] [review] Files for deletion Review of attachment 753576 [details] [diff] [review]: ----------------------------------------------------------------- f+, I half wrote this so official review to kim
Attachment #753576 -
Flags: review?(bugspam.Callek) → feedback+
Comment 3•11 years ago
|
||
Comment on attachment 753576 [details] [diff] [review] Files for deletion Ran it staging, lgtm
Attachment #753576 -
Flags: review?(kmoir) → review+
Assignee | ||
Comment 6•11 years ago
|
||
On the foopies under /builds, we have symbolic links for start_cp.sh -> /builds/tools/buildfarm/mobile/start_cp.sh stop_cp.sh -> /builds/tools/buildfarm/mobile/stop_cp.sh Removed this from the puppet config, since these files no longer exist, so no need for symbolic links.
Attachment #770684 -
Flags: review?(bugspam.Callek)
Comment 7•11 years ago
|
||
Comment on attachment 770684 [details] [diff] [review] Puppet changes due to deleted files - no need for symbolic links This doesn't actually remove the files, it just removes puppets management of the files. What we want here is ensure => absent; and remove the other lines (owner, target, group) And we should comment that its obsolete and then in a week or two fully delete the management of them from these manifests.
Attachment #770684 -
Flags: review?(bugspam.Callek) → review-
Assignee | ||
Updated•11 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Product: mozilla.org → Release Engineering
Assignee | ||
Comment 8•11 years ago
|
||
Hey Callek, somehow I only just spotted Comment 7 above, and the r-. It got checked in, as it was. If you want me to still add the ensure => absent, etc - please reopen the ticket, and I'll hop on it. Not sure how I missed the r- there, apologies for this! Pete
Flags: needinfo?(bugspam.Callek)
Comment 9•11 years ago
|
||
(In reply to Pete Moore [:pete][:pmoore] from comment #8) > Hey Callek, somehow I only just spotted Comment 7 above, and the r-. It got > checked in, as it was. If you want me to still add the ensure => absent, etc > - please reopen the ticket, and I'll hop on it. > > Not sure how I missed the r- there, apologies for this! > Pete Indeed we should do the ensure => absent. Without that these links are still present on the foopies.
Status: RESOLVED → REOPENED
Flags: needinfo?(bugspam.Callek) → needinfo?(pmoore)
Resolution: FIXED → ---
Assignee | ||
Comment 11•11 years ago
|
||
Attachment #770684 -
Attachment is obsolete: true
Attachment #817819 -
Flags: review?(bugspam.Callek)
Comment 12•11 years ago
|
||
Comment on attachment 817819 [details] [diff] [review] Puppet changes due to deleted files - no need for symbolic links Review of attachment 817819 [details] [diff] [review]: ----------------------------------------------------------------- r- only for stylistic/organization reasons. Can you stick that new piece down at http://mxr.mozilla.org/build/source/puppet/modules/foopy/manifests/init.pp#118 (and replace the ensure=>absent directives already there since we no longer need them defined)
Attachment #817819 -
Flags: review?(bugspam.Callek) → review-
Assignee | ||
Comment 13•11 years ago
|
||
Updated as per your review above. Just testing this patch now on releng-puppet2.srv.releng.scl3.mozilla.com... When I've finished testing, I'll update the bug.
Attachment #817819 -
Attachment is obsolete: true
Attachment #8375542 -
Flags: review?(bugspam.Callek)
Updated•11 years ago
|
Attachment #8375542 -
Flags: review?(bugspam.Callek) → review+
Assignee | ||
Comment 14•11 years ago
|
||
Testing successful of foopy57 - broken links existed before test run, after executing puppet against my personal branch with this fix, the files were removed.
Assignee | ||
Comment 15•11 years ago
|
||
Committed and pushed: https://hg.mozilla.org/build/puppet/rev/375e41f40f49
Status: REOPENED → RESOLVED
Closed: 11 years ago → 11 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Component: Platform Support → Buildduty
Product: Release Engineering → Infrastructure & Operations
Updated•5 years ago
|
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•