librelist archives

« back to archive

Need a new ImageMagick brew maintainer

Need a new ImageMagick brew maintainer

From:
Adam Vandenberg
Date:
2011-07-21 @ 15:49
A while ago I mirrored ImageMagick to
https://github.com/adamv/ImageMagick so we could have a stable version
that didn't go away.
But I don't want to maintain a git-svn mirror, and don't personally
use ImageMagick.

So we need someone to sign up for maintaining this formula in Homebrew.
Or suggest to us another stable mirror to use. (Upstream deletes
tarballs to old versions after a while.)

Re: [homebrew] Need a new ImageMagick brew maintainer

From:
Trevor Wennblom
Date:
2011-07-21 @ 16:03
On Jul 21, 2011, at 10:49 AM, Adam Vandenberg wrote:

> So we need someone to sign up for maintaining this formula in Homebrew.
> Or suggest to us another stable mirror to use. (Upstream deletes
> tarballs to old versions after a while.)

adam -

while this may not address the central issue, i'd be happy to take over a 
git/svn mirror of imagemagick for a significant period / indefinitely.

here is a list of several mirrors i presently maintain:
  https://github.com/trevor/manifest-mirrors

Re: [homebrew] Need a new ImageMagick brew maintainer

From:
Trevor Wennblom
Date:
2011-07-21 @ 17:48
added to the background job for regular updates:
  https://github.com/trevor/ImageMagick

let me know if people are interested in this sticking around and i'll make
sure it stays in place.

Re: [homebrew] Need a new ImageMagick brew maintainer

From:
Max Howell
Date:
2011-07-21 @ 17:51
Thanks Trevor, we much appreciate it.

> added to the background job for regular updates:
>  https://github.com/trevor/ImageMagick
> 
> let me know if people are interested in this sticking around and i'll 
make sure it stays in place.

Re: [homebrew] Need a new ImageMagick brew maintainer

From:
Adam Vandenberg
Date:
2011-07-21 @ 18:02
I will try to point ImageMagick's brew to this mirror when I get a
chance, unless someone beats me to it. (Please feel free to beat me to
it.)

Thanks.

On Thu, Jul 21, 2011 at 10:51 AM, Max Howell <max@methylblue.com> wrote:
> Thanks Trevor, we much appreciate it.
>
>> added to the background job for regular updates:
>>  https://github.com/trevor/ImageMagick
>>
>> let me know if people are interested in this sticking around and i'll 
make sure it stays in place.
>
>

Re: [homebrew] Need a new ImageMagick brew maintainer

From:
Max Howell
Date:
2011-07-21 @ 23:59
I went about doing this, but I notice Trevor's git mirror doesn't have 
tags, which we kind of need in order to have stable versions.

Is this possible to do? Eg. adamv's has the `6.6.9-4` tag indicating the 
latest stable release. 


On Thursday, 21 July 2011 at 19:02, Adam Vandenberg wrote:

> I will try to point ImageMagick's brew to this mirror when I get a
> chance, unless someone beats me to it. (Please feel free to beat me to
> it.)
> 
> Thanks.
> 
> On Thu, Jul 21, 2011 at 10:51 AM, Max Howell <max@methylblue.com 
(mailto:max@methylblue.com)> wrote:
> > Thanks Trevor, we much appreciate it.
> > 
> > > added to the background job for regular updates:
> > > https://github.com/trevor/ImageMagick
> > > 
> > > let me know if people are interested in this sticking around and 
i'll make sure it stays in place.

Re: [homebrew] Need a new ImageMagick brew maintainer

From:
Charlie Sharpsteen
Date:
2011-07-22 @ 00:06
On Thu, Jul 21, 2011 at 4:59 PM, Max Howell <max@methylblue.com> wrote:

> I went about doing this, but I notice Trevor's git mirror doesn't have
> tags, which we kind of need in order to have stable versions.
>
> Is this possible to do? Eg. adamv's has the `6.6.9-4` tag indicating the
> latest stable release.
>

If it is a clone of a SVN repo, the best tutorial I have seen is:


http://gitready.com/advanced/2009/02/16/convert-git-svn-tag-branches-to-real-tags.html

Re: [homebrew] Need a new ImageMagick brew maintainer

From:
Trevor Wennblom
Date:
2011-07-22 @ 00:10
On Jul 21, 2011, at 7:06 PM, Charlie Sharpsteen wrote:

> If it is a clone of a SVN repo, the best tutorial I have seen is:

it doesn't look like they're doing tags (just 'branches' and 'trunk'):
  https://www.imagemagick.org/subversion/ImageMagick/

Re: [homebrew] Need a new ImageMagick brew maintainer

From:
Trevor Wennblom
Date:
2011-07-22 @ 00:06
On Jul 21, 2011, at 6:59 PM, Max Howell wrote:

> I went about doing this, but I notice Trevor's git mirror doesn't have 
tags, which we kind of need in order to have stable versions.
> 
> Is this possible to do? Eg. adamv's has the `6.6.9-4` tag indicating the
latest stable release.

yep, working on it right now.

ideally I'd like to track this automatically by looking at the line 
containing LIB_VERSION_NUMBER in config/configure.xml

is there an easy way to go into the revision history see when a change to 
a line was first introduced? with that output i can put together a small 
script to tag the relevant commits.

Re: [homebrew] Need a new ImageMagick brew maintainer

From:
Trevor Wennblom
Date:
2011-07-22 @ 00:52
On Jul 21, 2011, at 7:06 PM, Trevor Wennblom wrote:

> ideally I'd like to track this automatically by looking at the line 
containing LIB_VERSION_NUMBER in config/configure.xml

yeah, i'm going to pass on the automated way, i'm seeing a lot of this 
coming in out-of-order. simple it is! i'll add a few tags right now.

for example:

  commit 9c2486cac1a2ffe7467bf0b47c4c168153d74c23
  Author: cristy <cristy@aa41f4f7-0bf4-0310-aa73-e5a19afd5a74>
  Date:   Sun Sep 20 22:36:18 2009 +0000
  
      git-svn-id: 
https://www.imagemagick.org/subversion/ImageMagick/trunk@157 
aa41f4f7-0bf4-0310-aa73-e5a19afd5a74
  
  diff --git a/config/configure.xml b/config/configure.xml
  index 7045a2a..0efa83d 100644
  --- a/config/configure.xml
  +++ b/config/configure.xml
  @@ -8,7 +8,7 @@
   <configuremap>
     <configure name="NAME" value="ImageMagick"/>
     <configure name="LIB_VERSION" value="0x656"/>
  -  <configure name="LIB_VERSION_NUMBER" value="6,5,6,2"/>
  +  <configure name="LIB_VERSION_NUMBER" value="6,5,6,3"/>
     <configure name="RELEASE_DATE" value="2009-09-20"/>
     <configure name="CONFIGURE" value="./configure "/>
     <configure name="PREFIX" value="/usr/local"/>
  
  commit ea692a31441746fc616b4b2b59c7d0798885f8f6
  Author: cristy <cristy@aa41f4f7-0bf4-0310-aa73-e5a19afd5a74>
  Date:   Sun Sep 20 21:18:22 2009 +0000
  
      git-svn-id: 
https://www.imagemagick.org/subversion/ImageMagick/trunk@154 
aa41f4f7-0bf4-0310-aa73-e5a19afd5a74
  
  diff --git a/config/configure.xml b/config/configure.xml
  index 0efa83d..7045a2a 100644
  --- a/config/configure.xml
  +++ b/config/configure.xml
  @@ -8,7 +8,7 @@
   <configuremap>
     <configure name="NAME" value="ImageMagick"/>
     <configure name="LIB_VERSION" value="0x656"/>
  -  <configure name="LIB_VERSION_NUMBER" value="6,5,6,3"/>
  +  <configure name="LIB_VERSION_NUMBER" value="6,5,6,2"/>
     <configure name="RELEASE_DATE" value="2009-09-20"/>
     <configure name="CONFIGURE" value="./configure "/>
     <configure name="PREFIX" value="/usr/local"/>
  
  commit 85c5f0070a6c2a7767bc80f20991d99f1224623f
  Author: cristy <cristy@aa41f4f7-0bf4-0310-aa73-e5a19afd5a74>
  Date:   Sun Sep 20 14:43:12 2009 +0000
  
      git-svn-id: 
https://www.imagemagick.org/subversion/ImageMagick/trunk@153 
aa41f4f7-0bf4-0310-aa73-e5a19afd5a74
  
  diff --git a/config/configure.xml b/config/configure.xml
  index bc92bef..0efa83d 100644
  --- a/config/configure.xml
  +++ b/config/configure.xml
  @@ -8,8 +8,8 @@
   <configuremap>
     <configure name="NAME" value="ImageMagick"/>
     <configure name="LIB_VERSION" value="0x656"/>
  -  <configure name="LIB_VERSION_NUMBER" value="6,5,6,2"/>
  -  <configure name="RELEASE_DATE" value="2009-09-19"/>
  +  <configure name="LIB_VERSION_NUMBER" value="6,5,6,3"/>
  +  <configure name="RELEASE_DATE" value="2009-09-20"/>
     <configure name="CONFIGURE" value="./configure "/>
     <configure name="PREFIX" value="/usr/local"/>
     <configure name="EXEC-PREFIX" value="/usr/local"/>

Re: [homebrew] Need a new ImageMagick brew maintainer

From:
Trevor Wennblom
Date:
2011-07-22 @ 05:28
we should be good. please let me know if there's any issues with my setup.


A)
it appears there is some guesswork involved in determining which svn 
commit to use for a release. for instance, i was attempting to match the 
downloadable source version 6.7.1-0, but in the repository they jump from 
6.7.0-10 to 6.7.1-1. it also appears the SVN_REVISION label can't be 
concretely trusted as in this example it lags one commit behind.

% git co 6.7.1
Switched to branch '6.7.1'
% git log -p config/configure.xml
commit e03504718483e6ab38ce738a239c5a8043e1d4ed
Author: cristy <cristy@aa41f4f7-0bf4-0310-aa73-e5a19afd5a74>
Date:   Sat Jul 9 18:00:04 2011 +0000

    git-svn-id: 
https://www.imagemagick.org/subversion/ImageMagick/branches/ImageMagick-6.7.1@4769
aa41f4f7-0bf4-0310-aa73-e5a19afd5a74

diff --git a/config/configure.xml b/config/configure.xml
index ae02ec0..be106d6 100644
--- a/config/configure.xml
+++ b/config/configure.xml
@@ -7,28 +7,28 @@
 ]>
 <configuremap>
   <configure name="NAME" value="ImageMagick"/>
-  <configure name="VERSION" value="6.7.0"/>
-  <configure name="LIB_VERSION" value="0x670"/>
-  <configure name="LIB_VERSION_NUMBER" value="6,7,0,10"/>
-  <configure name="SVN_REVISION" value="4660" />
-  <configure name="RELEASE_DATE" value="2011-06-30"/>
+  <configure name="VERSION" value="6.7.1"/>
+  <configure name="LIB_VERSION" value="0x671"/>
+  <configure name="LIB_VERSION_NUMBER" value="6,7,1,1"/>
+  <configure name="SVN_REVISION" value="4768" />
+  <configure name="RELEASE_DATE" value="2011-07-09"/>
   <configure name="CONFIGURE" value="./configure "/>
   <configure name="PREFIX" value="/usr/local"/>
[...]



B) users will likely run into this error where the formula cache does not 
know it needs to update the git remote. perhaps we should add some sort of
check in homebrew to ensure the cache matches the formula repository, and 
remove the cache if it doesn't? (my initial thought was to simply update 
the remotes in the cache, but that would only work when the repositories 
are almost interchangeable such as in this case)

[using original formula]

% brew install imagemagick
/usr/local/bin/git
==> Cloning https://github.com/adamv/ImageMagick.git
Cloning into /Users/user/Library/Caches/Homebrew/imagemagick--git...
remote: Counting objects: 2739, done.
remote: Compressing objects: 100% (1695/1695), done.
remote: Total 2739 (delta 1631), reused 1996 (delta 1037)
Receiving objects: 100% (2739/2739), 12.55 MiB | 118 KiB/s, done.
Resolving deltas: 100% (1631/1631), done.
==> Checking out tag 6.6.9-4
==> ./configure --disable-osx-universal-binary --without-perl 
--prefix=/usr/local/Cellar/imagemagick/6.6.9-4 
--disable-dependency-tracking --enable-shared --disable-static 
--with-modules --without-gsl
^C

[update formula to point to new mirror that contains the same tag]

% brew install imagemagick
/usr/local/bin/git
==> Cloning https://github.com/trevor/ImageMagick.git
Updating /Users/user/Library/Caches/Homebrew/imagemagick--git
==> Checking out tag 6.6.9-4
==> ./configure --disable-osx-universal-binary --without-perl 
--prefix=/usr/local/Cellar/imagemagick/6.6.9-4 
--disable-dependency-tracking --enable-shared --disable-static 
--with-modules --without-gsl
^C

[note the original repository on disk]

% cat /Users/user/Library/Caches/Homebrew/imagemagick--git/.git/config 
[core]
        repositoryformatversion = 0
        filemode = true
        bare = false
        logallrefupdates = true
        ignorecase = true
[remote "origin"]
        fetch = +refs/heads/*:refs/remotes/origin/*
        url = https://github.com/adamv/ImageMagick.git
[branch "trunk"]
        remote = origin
        merge = refs/heads/trunk

[update formula to point to new tag]

% brew install imagemagick
/usr/local/bin/git
==> Cloning https://github.com/trevor/ImageMagick.git
Updating /Users/user/Library/Caches/Homebrew/imagemagick--git
==> Checking out tag 6.7.1-1
error: pathspec '6.7.1-1' did not match any file(s) known to git.
Error: Failure while executing: git checkout -q 6.7.1-1

[rm -rf /Users/user/Library/Caches/Homebrew/imagemagick--git]



C)

and success.

% brew install imagemagick
/usr/local/bin/git
==> Cloning https://github.com/trevor/ImageMagick.git
Updating /Users/user/Library/Caches/Homebrew/imagemagick--git
==> Checking out tag 6.7.1-1
==> ./configure --disable-osx-universal-binary --without-perl 
--prefix=/usr/local/Cellar/imagemagick/6.7.1-1 
--disable-dependency-tracking --enable-shared --disable-static 
--with-modules --without-gsl
==> make install
==> Caveats
We are downloading from an unofficial GitHub mirror because of:
* Stable tarballs disappearing
* Bad https cert on official SVN repo
==> Summary
/usr/local/Cellar/imagemagick/6.7.1-1: 1389 files, 32M, built in 3.1 minutes

[checking]

% which identify
/usr/local/bin/identify
% ll `which identify`
lrwxr-xr-x  1 user  staff  42 Jul 22 00:18 /usr/local/bin/identify -> 
../Cellar/imagemagick/6.7.1-1/bin/identify

% identify /Library/Application\ Support/Apple/iChat\ 
Icons/Flags/Argentina.gif

/Library/Application Support/Apple/iChat Icons/Flags/Argentina.gif GIF 
48x48 48x48+0+0 8-bit PseudoClass 256c 2.51KB 0.000u 0:00.000
% identify --version
Version: ImageMagick 6.7.1-1 2011-07-22 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2011 ImageMagick Studio LLC
Features: OpenMP OpenCL

Re: [homebrew] Need a new ImageMagick brew maintainer

From:
Mike McQuaid
Date:
2011-07-22 @ 12:08
On 22 Jul 2011, at 01:28, Trevor Wennblom wrote:

> it appears there is some guesswork involved in determining which svn 
commit to use for a release. for instance, i was attempting to match the 
downloadable source version 6.7.1-0, but in the repository they jump from 
6.7.0-10 to 6.7.1-1. it also appears the SVN_REVISION label can't be 
concretely trusted as in this example it lags one commit behind.

It may just be easier to mirror their tarballs automatically through 
scraping their webpage.

Thanks!

--
Mike McQuaid
http://mikemcquaid.com

Re: [homebrew] Need a new ImageMagick brew maintainer

From:
Max Howell
Date:
2011-07-27 @ 11:24
I've amended the formula, but I guess I should hold off pushing then?

Sidenote: the git download_strategy doesn't support changing the git url.

There's an easy way round this I believe. Which will always work provided 
the repos contain identical blobs. So I'll look into that.

>> it appears there is some guesswork involved in determining which svn 
commit to use for a release. for instance, i was attempting to match the 
downloadable source version 6.7.1-0, but in the repository they jump from 
6.7.0-10 to 6.7.1-1. it also appears the SVN_REVISION label can't be 
concretely trusted as in this example it lags one commit behind.
> 
> It may just be easier to mirror their tarballs automatically through 
scraping their webpage.
> 
> Thanks!
> 
> --
> Mike McQuaid
> http://mikemcquaid.com
> 

Re: [homebrew] Need a new ImageMagick brew maintainer

From:
Mike McQuaid
Date:
2011-07-27 @ 12:07
On 27 Jul 2011, at 12:24, Max Howell wrote:

> I've amended the formula, but I guess I should hold off pushing then?
> 
> Sidenote: the git download_strategy doesn't support changing the git url.
> 
> There's an easy way round this I believe. Which will always work 
provided the repos contain identical blobs. So I'll look into that.

Your thoughts on bottling? That will solve the issue for most users.

--
Mike McQuaid
http://mikemcquaid.com

Re: [homebrew] Need a new ImageMagick brew maintainer

From:
Mike McQuaid
Date:
2011-07-21 @ 15:53
On 21 Jul 2011, at 11:49, Adam Vandenberg wrote:

> A while ago I mirrored ImageMagick to
> https://github.com/adamv/ImageMagick so we could have a stable version
> that didn't go away.
> But I don't want to maintain a git-svn mirror, and don't personally
> use ImageMagick.
> 
> So we need someone to sign up for maintaining this formula in Homebrew.
> Or suggest to us another stable mirror to use. (Upstream deletes
> tarballs to old versions after a while.)

Could be another candidate for bottling or we could upload the source 
tarballs to our sourceforge?

--
Mike McQuaid
http://mikemcquaid.com

Re: [homebrew] Need a new ImageMagick brew maintainer

From:
Adam Vandenberg
Date:
2011-07-21 @ 15:57
Mirroring the tarball to sourceforge would probably be a good idea.
Same for Spidermonkey, actually.
How do I do that?

On Thu, Jul 21, 2011 at 8:53 AM, Mike McQuaid <mike@mikemcquaid.com> wrote:
>
> On 21 Jul 2011, at 11:49, Adam Vandenberg wrote:
>
>> A while ago I mirrored ImageMagick to
>> https://github.com/adamv/ImageMagick so we could have a stable version
>> that didn't go away.
>> But I don't want to maintain a git-svn mirror, and don't personally
>> use ImageMagick.
>>
>> So we need someone to sign up for maintaining this formula in Homebrew.
>> Or suggest to us another stable mirror to use. (Upstream deletes
>> tarballs to old versions after a while.)
>
> Could be another candidate for bottling or we could upload the source 
tarballs to our sourceforge?
>
> --
> Mike McQuaid
> http://mikemcquaid.com
>
>

Re: [homebrew] Need a new ImageMagick brew maintainer

From:
Mike McQuaid
Date:
2011-07-21 @ 16:00
On 21 Jul 2011, at 11:57, Adam Vandenberg wrote:

> Mirroring the tarball to sourceforge would probably be a good idea.
> Same for Spidermonkey, actually.
> How do I do that?

Give me your SourceForge account details and then just upload to the 
project. I can walk you through this if you want. Can probably take this 
off list.

Thanks!

--
Mike McQuaid
http://mikemcquaid.com

Re: [homebrew] Need a new ImageMagick brew maintainer

From:
Max Howell
Date:
2011-07-21 @ 15:57
Bottling it would solve the immediate problems.

I'm happy to maintain this one, since it is regularly considered a test of
how good *foo* packaging manager is.

Does anyone know if there is a RSS feed or something that announces new 
releases? I couldn't find one with my cursory glance.

> On 21 Jul 2011, at 11:49, Adam Vandenberg wrote:
> 
>> A while ago I mirrored ImageMagick to
>> https://github.com/adamv/ImageMagick so we could have a stable version
>> that didn't go away.
>> But I don't want to maintain a git-svn mirror, and don't personally
>> use ImageMagick.
>> 
>> So we need someone to sign up for maintaining this formula in Homebrew.
>> Or suggest to us another stable mirror to use. (Upstream deletes
>> tarballs to old versions after a while.)
> 
> Could be another candidate for bottling or we could upload the source 
tarballs to our sourceforge?
> 
> --
> Mike McQuaid
> http://mikemcquaid.com