Closed Bug 148356 Opened 22 years ago Closed 21 years ago

contrib/cvs-update.sh should be in Perl

Categories

(Bugzilla :: Installation & Upgrading, enhancement)

2.17
x86
Windows NT
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 2.18

People

(Reporter: jouni, Assigned: jouni)

Details

(Whiteboard: [needed for Win32bz])

Attachments

(1 file)

cvs-update.sh should be rewritten in Perl to make it work on Win32 as well.
Proposing 2.18 per roadmap's win32 statement.
Severity: normal → enhancement
Whiteboard: win32
Target Milestone: --- → Bugzilla 2.18
Part of the 'make upgrade' feature in newinstall. Not so sure about this in
2.18, my current 2.18 goal is to have newinstall do all that checksetup did, but
without too many new features.
Depends on: 105856
how about an additional script for Win32?  The existing script works too well on
Unix to have to make it slower.
Whiteboard: win32 → [needed for Win32bz]
Is there a particular reason to think that converting such a trivial script 
into Perl would impose noticeable slowdown? Ok, you have to invoke perl, but I 
wouldn't think that has any significant effect when compared to the time cvs 
update takes to run anyway.
I'll chime in here... does cvs-update.sh NOT work with Cygwin?
Possibly yes, but that's not really relevant (as requiring Cygwin is quite 
harsh)...
Aw, gimme this stuff.

Zach, care to explain the dependency? A 2.20 bug blocking a 2.18 bug?
Assignee: zach → jouni
Attached file cvs-update.pl - take 1
Let's try this, hoping that the blocker mentioned above is just an old
newinstall plan and nothing relevant for this patch. ;-)
Attachment #134666 - Flags: review?(zach)
Jouni: explained ;)
No longer depends on: 105856
Comment on attachment 134666 [details]
cvs-update.pl - take 1

>open LOG, ">>cvs-update.log" or die("Couldn't open cvs update log!");

The error message should include $@ to tell the user what went wrong. r=zach
with that change.
Attachment #134666 - Flags: review?(zach) → review+
Flags: approval?
Flags: approval? → approval+
I'll fix Zach's review comment and commit this after the weekend.
Status: NEW → ASSIGNED
re IRC discussion with Dave, also removing cvs-update.sh simultaneously.

Removing cvs-update.sh;
/cvsroot/mozilla/webtools/bugzilla/contrib/cvs-update.sh,v  <--  cvs-update.sh
new revision: delete; previous revision: 1.3
done
RCS file: /cvsroot/mozilla/webtools/bugzilla/contrib/cvs-update.pl,v
done
Checking in cvs-update.pl;
/cvsroot/mozilla/webtools/bugzilla/contrib/cvs-update.pl,v  <--  cvs-update.pl
initial revision: 1.1
done
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: