[Fink-devel] Custom mirror not selected by default
Hi, I'm in the process of creating my first Fink package, but I seem to running into a minor problem with the CustomMirror field. I need to use a custom mirror because the package is unavailable at any of the standard Fink mirrors. So, I've specified the following in my .info file: CustomMirror: nam-US: http://download.eclipse.org/technology/ajdt/ Source: mirror:custom:%n-%v.jar When Fink tries to install this package, it's supposed to download the file at http://download.eclipse.org/technology/ajdt/aspectj-1.2.jar. At least, that's what I think it should do, based on the fields above. Instead, Fink for some reason tries to download the file at http://distfiles.master.finkmirrors.net/aspectj-1.2.jar, which of course is unavailable. This causes curl to return a failure, and I get this prompt: (1) Give up (2) Retry the same mirror (3) Retry another mirror from your country (4) Retry another mirror (5) Retry using next mirror set Custom Mirror Now, my question is, why doesn't Fink go to the custom mirror I specified in the first place? Or at least, why doesn't Fink check the other mirrors automatically, instead of prompting me? I mean, if I were a user trying to install this package, and I saw the above prompt, I would think something has gone seriously wrong. Thanks for any advice, Trevor --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] Custom mirror not selected by default
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Trevor Harmon wrote: | Hi, | | I'm in the process of creating my first Fink package, but I seem to | running into a minor problem with the CustomMirror field. I need to use | a custom mirror because the package is unavailable at any of the | standard Fink mirrors. So, I've specified the following in my .info file: | | CustomMirror: | nam-US: http://download.eclipse.org/technology/ajdt/ | | Source: mirror:custom:%n-%v.jar | | When Fink tries to install this package, it's supposed to download the | file at http://download.eclipse.org/technology/ajdt/aspectj-1.2.jar. At | least, that's what I think it should do, based on the fields above. | Instead, Fink for some reason tries to download the file at | http://distfiles.master.finkmirrors.net/aspectj-1.2.jar, which of course | is unavailable. This causes curl to return a failure, and I get this | prompt: | | (1) Give up | (2) Retry the same mirror | (3) Retry another mirror from your country | (4) Retry another mirror | (5) Retry using next mirror set Custom Mirror | | Now, my question is, why doesn't Fink go to the custom mirror I | specified in the first place? Because it is a good program and does exactly as you told it to do in your fink.conf. Have a look at the MirrorOrder: directive. Which can be set using fink configure. | Or at least, why doesn't Fink check the | other mirrors automatically, instead of prompting me? This is a design choice. We have often thought on different ways to handle such situations. We do agree that manual interaction is the best choice in this case. - -d -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (Darwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBT9HrPMoaMn4kKR4RA67BAJ9wDfEMD6B6SV5u7GnawnHUaWWU7ACfao5P I7Ot+o6oWb1SPWZI2ZDUNCs= =jQ3T -END PGP SIGNATURE- --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] Custom mirror not selected by default
On Sep 20, 2004, at 11:51 PM, Trevor Harmon wrote: When Fink tries to install this package, it's supposed to download the file at http://download.eclipse.org/technology/ajdt/aspectj-1.2.jar. At least, that's what I think it should do, based on the fields above. Instead, Fink for some reason tries to download the file at http://distfiles.master.finkmirrors.net/aspectj-1.2.jar, which of course is unavailable. Oops, it's in the FAQ. I had checked it earlier, but this time I found it: http://fink.sourceforge.net/faq/comp-general.php#master-problems But my questions still stand... If a .info specifies a custom mirror, that's a good indication that the file is not in a master mirror, correct? So why does Fink try to check the master in the first place? And if it doesn't succeed, why doesn't Fink automatically move on to the next mirror instead of prompting me? Trevor --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] Custom mirror not selected by default
On Sep 21, 2004, at 12:02 AM, D. Höhn wrote: This is a design choice. We have often thought on different ways to handle such situations. We do agree that manual interaction is the best choice in this case. Hmm... It still seems like a strange choice. I mean, why give up if there are still more mirrors to search? Perhaps there is a mailing list thread that explains what the thoughts were on this matter? After all, I've seen some .info files that specify five or six custom mirrors. Does that mean Fink will prompt me five or six times until it finds the file? Or will it just prompt after failing in the master, and then walk through the mirrors automatically, without prompting? OK, how about this: Let's say I get my .info working, and it gets accepted into the main Fink distribution (whatever that means). Will the source tarball for the package (or jar or whatever it is) eventually be placed into http://distfiles.master.finkmirrors.net/? Trevor --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] Custom mirror not selected by default
On Tue, Sep 21, 2004 at 12:05:37AM -0700, Trevor Harmon wrote: On Sep 20, 2004, at 11:51 PM, Trevor Harmon wrote: When Fink tries to install this package, it's supposed to download the file at http://download.eclipse.org/technology/ajdt/aspectj-1.2.jar. At least, that's what I think it should do, based on the fields above. Instead, Fink for some reason tries to download the file at http://distfiles.master.finkmirrors.net/aspectj-1.2.jar, which of course is unavailable. Oops, it's in the FAQ. I had checked it earlier, but this time I found it: http://fink.sourceforge.net/faq/comp-general.php#master-problems But my questions still stand... If a .info specifies a custom mirror, that's a good indication that the file is not in a master mirror, correct? So why does Fink try to check the master in the first place? Incorrect. Fink's master mirror automatically mirrors source tarballs for packages that are part of the fink dist (those that are available via 'selfupdate') for which it is legal to do so. But also, all other sources behave the same way, i.e., a mirror:gnu file for a package you are just writing wouldn't be on finkmirrors either. dan -- Daniel Macks [EMAIL PROTECTED] http://www.netspace.org/~dmacks --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] Custom mirror not selected by default
On 21 sept. 2004, at 08:51, Trevor Harmon wrote: CustomMirror: nam-US: http://download.eclipse.org/technology/ajdt/ Source: mirror:custom:%n-%v.jar If you have only one URL for the source, it doesn't make sense to use the CustomMirror field (there is no *mirror*, after all, just the original source URL). If you do, it gives the exact same behavior as if you don't. -- Martin --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] Custom mirror not selected by default
Trevor Harmon wrote: But my questions still stand... If a .info specifies a custom mirror, that's a good indication that the file is not in a master mirror, correct? So why does Fink try to check the master in the first place? And if it doesn't succeed, why doesn't Fink automatically move on to the next mirror instead of prompting me? No. Once your package gets released to the fink tree, the mirrors will pick it up and the file *will* be there. -- Benjamin Reed, a.k.a. Ranger Rick [EMAIL PROTECTED] / http://ranger.befunk.com/ You CAN'T clean the toilet, Neil, it'll lose all it's character! -- Vyvyan --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] Custom mirror not selected by default
On Sep 21, 2004, at 4:44 AM, Martin Costabel wrote: On 21 sept. 2004, at 08:51, Trevor Harmon wrote: CustomMirror: nam-US: http://download.eclipse.org/technology/ajdt/ Source: mirror:custom:%n-%v.jar If you have only one URL for the source, it doesn't make sense to use the CustomMirror field (there is no *mirror*, after all, just the original source URL). If you do, it gives the exact same behavior as if you don't. Ah, yes, that's exactly what I need: a way to specify an original source URL. That's the solution I'm looking for, since it would prevent Fink from going to its mirror, I assume. But I couldn't find anything about this in the packaging manual or the tutorial. (I assumed that custom mirrors *are* the way to specify an original source URL.) Can you please tell me how to specify an original source URL in the .info file? Thanks, Trevor --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] Custom mirror not selected by default
Trevor Harmon wrote: On Sep 21, 2004, at 4:44 AM, Martin Costabel wrote: On 21 sept. 2004, at 08:51, Trevor Harmon wrote: CustomMirror: nam-US: http://download.eclipse.org/technology/ajdt/ Source: mirror:custom:%n-%v.jar If you have only one URL for the source, it doesn't make sense to use the CustomMirror field (there is no *mirror*, after all, just the original source URL). If you do, it gives the exact same behavior as if you don't. Ah, yes, that's exactly what I need: a way to specify an original source URL. That's the solution I'm looking for, since it would prevent Fink from going to its mirror, I assume. But I couldn't find anything about this in the packaging manual or the tutorial. (I assumed that custom mirrors *are* the way to specify an original source URL.) Can you please tell me how to specify an original source URL in the .info file? Thanks, As others have explained, what fink does for downloading depends on two things: On what is written in the *.info file and on what is written in the user's own /sw/etc/fink.conf file. The latter determines if the URL given in the *.info file is used first or last. The normal way for your *.info file would be to have just a Source line and no CustomMirror: Source: http://download.eclipse.org/technology/ajdt/%n-%v.jar -- Martin --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] Custom mirror not selected by default
On Sep 21, 2004, at 11:15 AM, Martin Costabel wrote: The normal way for your *.info file would be to have just a Source line and no CustomMirror: Source: http://download.eclipse.org/technology/ajdt/%n-%v.jar Ah... From reading the packaging manual, I got the impression that the mirror:mirror-name:relative-path syntax was required. I didn't realize it was optional until I re-read it. Anyway, as long I know that the source file will eventually land in the master mirror (after the package gets accepted, of course), then I'm okay with the way it all works. Thanks, everyone, for clearing all this up for me. Trevor --- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel