port livecheck
Scott Haneda
talklists at newgeo.com
Fri Dec 4 15:53:40 PST 2009
Excellent info, thanks. Not ready to jump into subversion type stuff
on this one just yet, maybe if I get the behemoth of a list of ports
such as you :)
On a version bump and checksum update, is it best to send the
Portfile, or a diff, or both?
--
Scott * If you contact me off list replace talklists@ with scott@ *
On Dec 4, 2009, at 3:19 PM, Ryan Schmidt wrote:
>
> On Dec 4, 2009, at 17:02, Scott Haneda wrote:
>
>> So, lets take "p5-astro-satpass"
>> I am the maintainer. It just needs a version bump.
>> I notice there is no livecheck command in the p5's, is this normal,
>> I take it livecheck is built into the p5 checking somehow?
>
> Yes, in the perl5 portgroup.
>
>
>> I no longer hold a local port repo for p5-astro-satpass, since I
>> submitted it, I removed my local working version, to make sure I am
>> using the same stuff everyone else uses.
>>
>> This port will need a version bump, and a checksum bump, as will
>> most of the ports I maintain.
>>
>> Is there a way to do this without setting up a local portfile
>> repo? I did a `port edit p5-astro-satpass` then did a save as to
>> the desktop. I bumped the version, and run:
>> `sudo port install ~/Desktop/p5-astro-satpass` which does not work.
>
> To test the installation, you can
>
> cd ~/Desktop/p5-astro-satpass
> sudo port install
>
>
>> Looking for a way to get the new checksums,
>
> The new checksums are printed for you if you update the version and
> then run:
>
> sudo port -d checksum
>
> You can then copy/paste them in to the port, and adjust the spacing
> if necessary.
>
>
>> and do a quick test install without the hassle of setting up the
>> entire port locally.
>
> I use a Subversion working copy for my ports tree. I have never used
> a local repository; I just make changes directly in the main port
> tree directory.
>
> So for example I "cd $(port dir p5-astro-satpass)" (actually I have
> a shell function set up so I can "port cddir p5-astro-satpass" which
> I find slightly simpler) and then I can "edit Portfile" ("edit"
> opens the file in TextWrangler) and change it. I can "sudo port
> install" it, and if I like it, I can "svn commit" it; those who
> don't have commit access and want to create patches to attach to
> Trac tickets can instead "svn diff > file.diff".
More information about the macports-users
mailing list