Closed
Bug 12567
Opened 25 years ago
Closed 25 years ago
create win32/unix manifest parser perl script
Categories
(SeaMonkey :: Build Config, defect, P3)
SeaMonkey
Build Config
Tracking
(Not tracked)
RESOLVED
FIXED
M12
People
(Reporter: Chris.Yeh, Assigned: granrosebugs)
References
Details
Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Updated•25 years ago
|
OS: Mac System 8.5 → All
Target Milestone: M11
Made a lot of progress on this. I'm about 90% done. It does
- individual file copies
- recursive directory copies
- deletion of files or directories from the destination directory
- specification of an alternate destination (for both file and dir copies)
The only thing really left is globbing to allow wildcards. It is currently at
buell.mcom.com:/builds/pkgcp.pl if you want to take a look, and I am waiting for
a cvs account in order to check it in which should happen Tuesday. I'll also
finish the wildcard feature as well. I've done a fair amount of testing and
error checking, but will need some working package files to test against. Once
it's all happy on Linux, I'll look to porting it to win32 and possibly Mac.
excellent. i have the power to issue you a cvs account, let me do that now.
Assignee | ||
Comment 2•25 years ago
|
||
My CVS account is up and running. leaf just walked me through checking in the
file and it's in there:
RCS file: /cvsroot/mozilla/xpinstall/packager/pkgcp.pl,v
done
Checking in pkgcp.pl;
/cvsroot/mozilla/xpinstall/packager/pkgcp.pl,v <-- pkgcp.pl
initial revision: 1.1
done
Comments, copying individual files, redirecting individual files, and wildcards
all work.
Problem areas:
- recursively copying and/or redirecting directories.
- using a relative path for the dest dir (presently has to be an absolute path).
Should have these problems sorted out later this week.
just noticed a bug:
you need to maintain file permission flags when you move, so that if an item is
marked executable, it maintains that flag. i think you can do this by setting
umask(0);, but not sure.
Assignee | ||
Comment 4•25 years ago
|
||
unix copy now gets the permissions of the source file and sets the destination
file the same. need to revisit central copy procedure to work better XP and
improve the performance a bit.
Assignee | ||
Comment 5•25 years ago
|
||
still working on this.
cleaning up the central do_copyfile routine. reducing recursion and improving
performance.
Assignee | ||
Comment 6•25 years ago
|
||
many changes in my copy, waiting for leaf to complete his packages-win updates
before checking in so I can test the new script on the new package.
Assignee | ||
Comment 7•25 years ago
|
||
worked w/jj on mac port. macperl doesn't like globbing, so checked in
workaround so that any globbing to copy an entire directory (e.g. dir:dir:*)
strips off the :* and does a copydir on dir:dir, and any other globbing it
prints out a warning with a suggestion to copy the entire directory.
This is good enough to use and create/maintain a packages-mac file. Will
research the macperl globbing to see if we can find out how to get it to work.
It appears to not like variables. So if I do a `glob *.pl` it finds all the .pl
files, but if I pass it a var containing *.pl, it doesn't find anything...
Assignee | ||
Comment 8•25 years ago
|
||
not going to make M11.
Assignee | ||
Updated•25 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 9•25 years ago
|
||
this is basically done. got the feedback on the mac globbing, but might have to
make do with what we have. closing.
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•