Re: PAUSE problem
by Abigail-II (Bishop) on Jan 16, 2004 at 15:00 UTC
|
Once you have uploaded a file with a specific name, you can
never ever upload a file with the same name. Period.
Just increase the version number, that's the easiest way.
I don't know what happens if you upload a module with the
same version number, but in a different file. I don't really
want to try either.
Abigail | [reply] |
Re: PAUSE problem
by asarih (Hermit) on Jan 16, 2004 at 15:09 UTC
|
Did you read this passage from PAUSE?
In particular, it says
For security reasons you will never be able to upload a file with identical name again. This strict requirement does have one exception: documentation files may be overwritten.
In other words, you have to bump up the version number if you make a mistake in uploading.
Update: You don't have to, I guess, but what's in a version number anyway? As long as you don't go backwards (n.b., Adobe Illustrator) I couldn't care less. | [reply] |
Re: PAUSE problem
by samtregar (Abbot) on Jan 16, 2004 at 16:31 UTC
|
How did you end up with a "bad" tarball in the first place? Are you rolling your own? I suggest you get on the ExtUtils::MakeMaker train. Then you can:
make disttest
make dist
and never have to worry again!
-sam
| [reply] [d/l] |
Re: PAUSE problem
by Anonymous Monk on Jan 16, 2004 at 23:25 UTC
|
As a professional Configuration Manager I say always roll the version number. That is what they are there for. I have never understood this developer notion of trying to avoid incrementing version numbers.
In your particular case If someone had downloaded the bodgy version and you did manage to insert your fixed version with the same version number then how would your victim's auto update software know that the release had been fixed?
| [reply] |
|
|
I have never understood this developer notion of trying to avoid incrementing version numbers
Oh thats easy. We are numerically inclined us developers. So when we see 2.2.0, 2.2.1, 2.2.3, 2.2.4, 2.2.7 we immediately want to know what the hell happened to 2.2.2, 2.2.5 and 2.2.6. And when the answers is "well er, I, ah, well, you know screwed, ah, er, the tarball" we are inclined to think the less of the poor chap involved, even when secretly we know weve all done it at least once or twice ourselves.
But you are of course correct. Bumping the version number is the right way to procede, but sometimes pshychology outweighs logic.
---
demerphq
First they ignore you, then they laugh at you, then they fight you, then you win.
-- Gandhi
| [reply] [d/l] |
Re: PAUSE problem
by jacques (Priest) on Jan 16, 2004 at 16:38 UTC
|
Why can't pause check if your tarball cuts the mustard before adding it to your directory? I know that this is our job, but at least pause won't collect anymore faulty files. Couldn't they add some Perl code that inspects the tarball after it has been upload and before it gets added to your directory?
Also why does pause give me the option to delete files in my directory, when those files don't get deleted upon request? (I tried emailing the pause maintainer about this but got no response.)
| [reply] |
|
|
(Completely off-topic, but the phrase is didn't cut muster, not didn't cut the mustard. To muster is to summon the troops or athletes or other group members; and those which fail the subsequent inspection are cut, or culled or rejected. This is the same as didn't make the cut.)
Perl and English are both very idiomatic languages.
(Back on topic.) Why the reticence to change a version number? It's a different version. The version you gave is broken, the new version is fixed. It's not a big deal if your 1.0.0.0.0.0 is broken; just upload that nice 1.1 and be happy.
-- [ e d @ h a l l e y . c c ]
| [reply] |
|
|
| [reply] |
|
|
|
|
|
|
| [reply] |
|
|
|
|