[csw-devel] SF.net SVN: gar:[13974] csw/mgar/pkg

2011-03-27 Thread theferret
Revision: 13974 http://gar.svn.sourceforge.net/gar/?rev=13974&view=rev Author: theferret Date: 2011-03-28 05:01:11 + (Mon, 28 Mar 2011) Log Message: --- retry: committing front-end side, of OBSOLETES_ rename to OBSOLETED_BY_ Modified Paths: -- csw/mgar/

[csw-devel] SF.net SVN: gar:[13973] csw/mgar/pkg

2011-03-27 Thread theferret
Revision: 13973 http://gar.svn.sourceforge.net/gar/?rev=13973&view=rev Author: theferret Date: 2011-03-28 04:55:29 + (Mon, 28 Mar 2011) Log Message: --- stragglers from OBSOLETES_ rename Modified Paths: -- csw/mgar/pkg/libao/trunk/Makefile csw/mgar/

[csw-devel] SF.net SVN: gar:[13972] csw/mgar/pkg/git/trunk/Makefile

2011-03-27 Thread theferret
Revision: 13972 http://gar.svn.sourceforge.net/gar/?rev=13972&view=rev Author: theferret Date: 2011-03-28 04:47:09 + (Mon, 28 Mar 2011) Log Message: --- continuing front-end commit to match backend rename, OBSOLETES_ to OBSOLETED_BY_ Modified Paths: --

[csw-devel] SF.net SVN: gar:[13971] csw/mgar/gar/v2

2011-03-27 Thread theferret
Revision: 13971 http://gar.svn.sourceforge.net/gar/?rev=13971&view=rev Author: theferret Date: 2011-03-28 04:42:46 + (Mon, 28 Mar 2011) Log Message: --- backend gar: changed OBSOLETES_ to OBSOLETED_BY_ Modified Paths: -- csw/mgar/gar/v2/gar.pkg.mk c

[csw-devel] SF.net SVN: gar:[13970] csw/mgar/gar/v2

2011-03-27 Thread wahwah
Revision: 13970 http://gar.svn.sourceforge.net/gar/?rev=13970&view=rev Author: wahwah Date: 2011-03-28 01:10:06 + (Mon, 28 Mar 2011) Log Message: --- csw-upload-pkg: checkpkg integration Before sending packages, csw-upload-pkg calls checkpkg (fork + exec) to check pack

[csw-devel] SF.net SVN: gar:[13969] csw/mgar/gar/v2/lib/python

2011-03-27 Thread wahwah
Revision: 13969 http://gar.svn.sourceforge.net/gar/?rev=13969&view=rev Author: wahwah Date: 2011-03-28 01:09:24 + (Mon, 28 Mar 2011) Log Message: --- checkpkg: Fix a bug doubled errors when re-running It's funny that I once spent about two hours looking for that bug, a

[csw-devel] SF.net SVN: gar:[13968] csw/mgar/gar/v2/lib/python/README

2011-03-27 Thread wahwah
Revision: 13968 http://gar.svn.sourceforge.net/gar/?rev=13968&view=rev Author: wahwah Date: 2011-03-28 01:08:49 + (Mon, 28 Mar 2011) Log Message: --- checkpkg: Solaris package dependencies for dev It's not complete, but it's a start. Modified Paths: --

[csw-devel] SF.net SVN: gar:[13967] csw/mgar/gar/v2/lib/python

2011-03-27 Thread wahwah
Revision: 13967 http://gar.svn.sourceforge.net/gar/?rev=13967&view=rev Author: wahwah Date: 2011-03-28 01:08:16 + (Mon, 28 Mar 2011) Log Message: --- csw-upload-pkg: Add --rest-url This way, it's possible to work outside the OpenCSW buildfarm, using different URLs for

[csw-devel] SF.net SVN: gar:[13966] csw/mgar/gar/v2/lib/web/example-lighttpd.conf

2011-03-27 Thread wahwah
Revision: 13966 http://gar.svn.sourceforge.net/gar/?rev=13966&view=rev Author: wahwah Date: 2011-03-28 01:06:25 + (Mon, 28 Mar 2011) Log Message: --- pkgdb-web: Example lighttpd configuration Close, but not working as expected yet. Added Paths: --- csw/mga

[csw-devel] SF.net SVN: gar:[13965] csw/mgar/pkg/hachoir-parser/trunk

2011-03-27 Thread wahwah
Revision: 13965 http://gar.svn.sourceforge.net/gar/?rev=13965&view=rev Author: wahwah Date: 2011-03-28 00:44:25 + (Mon, 28 Mar 2011) Log Message: --- pkg/hachoir-parser/trunk: version bump to 1.3.4 Modified Paths: -- csw/mgar/pkg/hachoir-parser/trunk/Ma

[csw-devel] SF.net SVN: gar:[13964] csw/mgar/pkg/proj/trunk/Makefile

2011-03-27 Thread bdwalton
Revision: 13964 http://gar.svn.sourceforge.net/gar/?rev=13964&view=rev Author: bdwalton Date: 2011-03-27 23:55:17 + (Sun, 27 Mar 2011) Log Message: --- proj/trunk: add custom extract target for the datumgrid add-on. this should enable extra functionality if detected b

[csw-devel] SF.net SVN: gar:[13963] csw/mgar/pkg/wgetpaste/trunk

2011-03-27 Thread wahwah
Revision: 13963 http://gar.svn.sourceforge.net/gar/?rev=13963&view=rev Author: wahwah Date: 2011-03-27 23:40:40 + (Sun, 27 Mar 2011) Log Message: --- pkg/wgetpaste/trunk: Update to 2.18, fixing #4316 Modified Paths: -- csw/mgar/pkg/wgetpaste/trunk/Makef

[csw-devel] SF.net SVN: gar:[13962] csw/mgar/gar/v2/lib/python/package_stats.py

2011-03-27 Thread bdwalton
Revision: 13962 http://gar.svn.sourceforge.net/gar/?rev=13962&view=rev Author: bdwalton Date: 2011-03-27 23:21:07 + (Sun, 27 Mar 2011) Log Message: --- checkpkg/package_stats.py: use the newly available GetObsoletedBy() method from DirectoryFormatPackage to extend the

Re: [csw-devel] [PATCH] pull obsolet info into the package stats datastructure

2011-03-27 Thread Ben Walton
Excerpts from Maciej Bliziński's message of Sun Mar 27 19:13:04 -0400 2011: > The "obsolete_info" bit looks like if the information in question were > obsolete. How about "obsoleteness_info"? Sounds good. Will push. Thanks -Ben -- Ben Walton Systems Programmer - CHASS University of Toronto C:4

Re: [csw-devel] [PATCH] pull obsolet info into the package stats datastructure

2011-03-27 Thread Maciej Bliziński
2011/3/27 Ben Walton : > -PACKAGE_STATS_VERSION = 10L > +PACKAGE_STATS_VERSION = 11L >  BAD_CONTENT_REGEXES = ( >     # Slightly obfuscating these by using the default concatenation >     of >     # strings. > @@ -191,6 +191,7 @@ >         "binaries": dir_pkg.ListBinaries(), >         "binaries_dum

[csw-devel] SF.net SVN: gar:[13961] csw/mgar/pkg/proj/trunk/Makefile

2011-03-27 Thread bdwalton
Revision: 13961 http://gar.svn.sourceforge.net/gar/?rev=13961&view=rev Author: bdwalton Date: 2011-03-27 23:03:09 + (Sun, 27 Mar 2011) Log Message: --- proj/trunk: split out a -data package for shared data files Modified Paths: -- csw/mgar/pkg/proj/trun

[csw-devel] SF.net SVN: gar:[13960] csw/mgar/pkg/php5/trunk/Makefile

2011-03-27 Thread bdwalton
Revision: 13960 http://gar.svn.sourceforge.net/gar/?rev=13960&view=rev Author: bdwalton Date: 2011-03-27 23:00:05 + (Sun, 27 Mar 2011) Log Message: --- php5/trunk: kill the httpd.conf files when install step is done Modified Paths: -- csw/mgar/pkg/php5/

[csw-devel] SF.net SVN: gar:[13959] csw/mgar/pkg/proj/trunk/Makefile

2011-03-27 Thread bdwalton
Revision: 13959 http://gar.svn.sourceforge.net/gar/?rev=13959&view=rev Author: bdwalton Date: 2011-03-27 22:55:01 + (Sun, 27 Mar 2011) Log Message: --- proj/trunk: add package splits Modified Paths: -- csw/mgar/pkg/proj/trunk/Makefile Modified: csw/mga

[csw-devel] SF.net SVN: gar:[13958] csw/mgar/pkg/proj/trunk/Makefile

2011-03-27 Thread bdwalton
Revision: 13958 http://gar.svn.sourceforge.net/gar/?rev=13958&view=rev Author: bdwalton Date: 2011-03-27 22:40:08 + (Sun, 27 Mar 2011) Log Message: --- proj/trunk: soname did not change, so do not include old version Modified Paths: -- csw/mgar/pkg/proj

[csw-devel] SF.net SVN: gar:[13957] csw/mgar/pkg/proj/trunk

2011-03-27 Thread bdwalton
Revision: 13957 http://gar.svn.sourceforge.net/gar/?rev=13957&view=rev Author: bdwalton Date: 2011-03-27 22:38:31 + (Sun, 27 Mar 2011) Log Message: --- proj/trunk: pull down some additional files to enable extra functionality (a requirement for grass) Modified Paths:

[csw-devel] [PATCH] pull obsolet info into the package stats datastructure

2011-03-27 Thread Ben Walton
Hi Maciej, Any objections to the following? Thanks -Ben Hi Maciej, Any objections to the following? Index: package_stats.py === --- package_stats.py(revision 13944) +++ package_stats.py(working copy) @@ -22,7 +22,7 @@ f

[csw-devel] SF.net SVN: gar:[13956] csw/mgar/pkg/php5/trunk/Makefile

2011-03-27 Thread bdwalton
Revision: 13956 http://gar.svn.sourceforge.net/gar/?rev=13956&view=rev Author: bdwalton Date: 2011-03-27 21:52:59 + (Sun, 27 Mar 2011) Log Message: --- php5/trunk: import httpd.conf for apache1 and apache2...cannot figure out how to make it install the apache module fi

Re: [csw-devel] SF.net SVN: gar:[13952] csw/mgar/gar/v2/lib/python/package.py

2011-03-27 Thread Ben Walton
Excerpts from Maciej Bliziński's message of Sun Mar 27 16:09:06 -0400 2011: > The return statement could be de-duplicated in the following manner: Yes, I agree. Still getting my feet under me so I'm not spotting silly things like that. Change committed. Thanks -Ben -- Ben Walton Systems Progra

[csw-devel] SF.net SVN: gar:[13955] csw/mgar/gar/v2/lib/python/package.py

2011-03-27 Thread bdwalton
Revision: 13955 http://gar.svn.sourceforge.net/gar/?rev=13955&view=rev Author: bdwalton Date: 2011-03-27 20:17:31 + (Sun, 27 Mar 2011) Log Message: --- checkpkg/package.py: deduplicate return info from GetObsoletedBy Modified Paths: -- csw/mgar/gar/v2/l

Re: [csw-devel] SF.net SVN: gar:[13952] csw/mgar/gar/v2/lib/python/package.py

2011-03-27 Thread Maciej Bliziński
2011/3/27 : >     if not os.path.exists(obsoleted_by_path): > -      return { "syntax_ok": True, "obsoleted_by": obsoleted_by } > +      return { "syntax_ok": True, > +               "obsoleted_by": obsoleted_by, > +               "has_obsolete_info": False } The return statement could be de-dupl

Re: [csw-devel] SF.net SVN: gar:[13950] csw/mgar/gar/v2/lib/python/package.py

2011-03-27 Thread Maciej Bliziński
2011/3/27 : > Revision: 13950 >          http://gar.svn.sourceforge.net/gar/?rev=13950&view=rev > Author:   bdwalton > Date:     2011-03-27 19:19:15 + (Sun, 27 Mar 2011) > > Log Message: > --- > checkpkg/package.py: for packages with no obsolete file, return a valid dict > instead of

Re: [csw-devel] SF.net SVN: gar:[13947] csw/mgar/gar/v2/lib/python/package.py

2011-03-27 Thread Maciej Bliziński
Yey! This is a very nicely written bit of code. ___ devel mailing list devel@lists.opencsw.org https://lists.opencsw.org/mailman/listinfo/devel

[csw-devel] SF.net SVN: gar:[13954] csw/mgar/pkg/proj/trunk/Makefile

2011-03-27 Thread bdwalton
Revision: 13954 http://gar.svn.sourceforge.net/gar/?rev=13954&view=rev Author: bdwalton Date: 2011-03-27 20:03:04 + (Sun, 27 Mar 2011) Log Message: --- proj/trunk: got the GARTYPE switching to work Modified Paths: -- csw/mgar/pkg/proj/trunk/Makefile Mo

[csw-devel] SF.net SVN: gar:[13953] csw/mgar/pkg/proj/trunk

2011-03-27 Thread bdwalton
Revision: 13953 http://gar.svn.sourceforge.net/gar/?rev=13953&view=rev Author: bdwalton Date: 2011-03-27 19:53:55 + (Sun, 27 Mar 2011) Log Message: --- proj/trunk: import the old library files and install them with the post-install hook Modified Paths: --

[csw-devel] SF.net SVN: gar:[13952] csw/mgar/gar/v2/lib/python/package.py

2011-03-27 Thread bdwalton
Revision: 13952 http://gar.svn.sourceforge.net/gar/?rev=13952&view=rev Author: bdwalton Date: 2011-03-27 19:52:20 + (Sun, 27 Mar 2011) Log Message: --- checkpkg/package.py: add third item to obsoletion dict in GetObsoletedBy to indicate presence of i obsolete so we can

[csw-devel] SF.net SVN: gar:[13951] csw/mgar/pkg/proj/trunk/Makefile

2011-03-27 Thread bdwalton
Revision: 13951 http://gar.svn.sourceforge.net/gar/?rev=13951&view=rev Author: bdwalton Date: 2011-03-27 19:27:44 + (Sun, 27 Mar 2011) Log Message: --- proj/trunk: set TEST_TARGET until I can figure out how to have mgar use v2-defaultchange Modified Paths: ---

[csw-devel] SF.net SVN: gar:[13950] csw/mgar/gar/v2/lib/python/package.py

2011-03-27 Thread bdwalton
Revision: 13950 http://gar.svn.sourceforge.net/gar/?rev=13950&view=rev Author: bdwalton Date: 2011-03-27 19:19:15 + (Sun, 27 Mar 2011) Log Message: --- checkpkg/package.py: for packages with no obsolete file, return a valid dict instead of an empty list Modified Paths

[csw-devel] SF.net SVN: gar:[13949] csw/mgar/pkg/proj/trunk/checksums

2011-03-27 Thread bdwalton
Revision: 13949 http://gar.svn.sourceforge.net/gar/?rev=13949&view=rev Author: bdwalton Date: 2011-03-27 17:00:21 + (Sun, 27 Mar 2011) Log Message: --- proj/trunk: add checksums Modified Paths: -- csw/mgar/pkg/proj/trunk/checksums Modified: csw/mgar/pk

[csw-devel] SF.net SVN: gar:[13948] csw/mgar/pkg

2011-03-27 Thread bdwalton
Revision: 13948 http://gar.svn.sourceforge.net/gar/?rev=13948&view=rev Author: bdwalton Date: 2011-03-27 16:59:26 + (Sun, 27 Mar 2011) Log Message: --- add GAR stub for proj (required for grass) Added Paths: --- csw/mgar/pkg/proj/ csw/mgar/pkg/proj/Make

[csw-devel] SF.net SVN: gar:[13947] csw/mgar/gar/v2/lib/python/package.py

2011-03-27 Thread bdwalton
Revision: 13947 http://gar.svn.sourceforge.net/gar/?rev=13947&view=rev Author: bdwalton Date: 2011-03-27 16:52:03 + (Sun, 27 Mar 2011) Log Message: --- checkpkg/package.py: add GetObsoletedBy to class DirectoryFormatPackage Modified Paths: -- csw/mgar/g

[csw-devel] SF.net SVN: gar:[13946] csw/mgar/pkg/git/trunk

2011-03-27 Thread bdwalton
Revision: 13946 http://gar.svn.sourceforge.net/gar/?rev=13946&view=rev Author: bdwalton Date: 2011-03-27 15:42:18 + (Sun, 27 Mar 2011) Log Message: --- git/trunk: patch incorporated upstream now Modified Paths: -- csw/mgar/pkg/git/trunk/Makefile Remove

Re: [csw-devel] [PATCH] checkpkg: allow collection of obsoletion info

2011-03-27 Thread Ben Walton
Excerpts from Maciej Bliziński's message of Sun Mar 27 10:22:26 -0400 2011: > > +  def GetObsoletedBy(self): > > +    """Collects obsolescence information from the package if it > > exists > > + > > +    Documentation: > > +    http://wiki.opencsw.org/obsoleting-packages > > + > > +    Returns: >

Re: [csw-devel] [PATCH] checkpkg: allow collection of obsoletion info

2011-03-27 Thread Maciej Bliziński
2011/3/27 Ben Walton : > Excerpts from Maciej Bliziński's message of Sun Mar 27 09:59:50 -0400 2011: > > Ok, here's the version I think is ready for commit... > > Thanks > -Ben > > Index: package.py > === > --- package.py  (revision 13

Re: [csw-devel] [PATCH] checkpkg: allow collection of obsoletion info

2011-03-27 Thread Ben Walton
Excerpts from Maciej Bliziński's message of Sun Mar 27 09:59:50 -0400 2011: Ok, here's the version I think is ready for commit... Thanks -Ben Index: package.py === --- package.py (revision 13944) +++ package.py (working copy) @@ -

Re: [csw-devel] [PATCH] checkpkg: allow collection of obsoletion info

2011-03-27 Thread Ben Walton
Excerpts from Maciej Bliziński's message of Sun Mar 27 09:59:50 -0400 2011: > Nothing prevents you from using them in Python: > > end = None # define a name > > for i in range(4): > for j in range(4): > print i, j > end > end Cool! > You could also check package description: if it's a

Re: [csw-devel] [PATCH] checkpkg: allow collection of obsoletion info

2011-03-27 Thread Maciej Bliziński
2011/3/27 Ben Walton : > Excerpts from Maciej Bliziński's message of Sun Mar 27 04:18:42 -0400 2011: > >> I've recently learned a Python idiom for opening files: >> >> with open(obsoleted_by_path, "r") as fd: >>   indented block >>   using fd > > Ah!  Very ruby-esque, I like it.  The same thing in

Re: [csw-devel] [PATCH] checkpkg: allow collection of obsoletion info

2011-03-27 Thread Ben Walton
Excerpts from Ben Walton's message of Sun Mar 27 09:19:15 -0400 2011: > We only care about the first two white space separated fields. > > > if 2 != len(fields): Hmm. This needs to be a <= comparison since there will actually by many fields when split by whitespace. Thanks -Ben -- Ben Walton

Re: [csw-devel] [PATCH] checkpkg: allow collection of obsoletion info

2011-03-27 Thread Ben Walton
Excerpts from Maciej Bliziński's message of Sun Mar 27 04:18:42 -0400 2011: > I've recently learned a Python idiom for opening files: > > with open(obsoleted_by_path, "r") as fd: > indented block > using fd Ah! Very ruby-esque, I like it. The same thing in Ruby would be: File.open("/path/

[csw-devel] SF.net SVN: gar:[13945] csw/mgar/pkg/git/trunk/Makefile

2011-03-27 Thread bdwalton
Revision: 13945 http://gar.svn.sourceforge.net/gar/?rev=13945&view=rev Author: bdwalton Date: 2011-03-27 12:21:16 + (Sun, 27 Mar 2011) Log Message: --- git/trunk: version bump Modified Paths: -- csw/mgar/pkg/git/trunk/Makefile Modified: csw/mgar/pkg/gi

[csw-devel] [PATCH 2/2] checkpkg: Store i_depends information

2011-03-27 Thread maciej
From: Maciej Bliziński --- gar/v2/lib/python/package.py | 18 +++--- gar/v2/lib/python/package_stats.py |6 -- 2 files changed, 19 insertions(+), 5 deletions(-) diff --git a/gar/v2/lib/python/package.py b/gar/v2/lib/python/package.py index 1d06467..76ea892 100644 ---

[csw-devel] [PATCH 1/2] checkpkg: Change GetDependencies to 'with'

2011-03-27 Thread maciej
From: Maciej Bliziński --- gar/v2/lib/python/package.py | 19 +-- 1 files changed, 9 insertions(+), 10 deletions(-) diff --git a/gar/v2/lib/python/package.py b/gar/v2/lib/python/package.py index 21b8b1a..1d06467 100644 --- a/gar/v2/lib/python/package.py +++ b/gar/v2/lib/python

[csw-devel] [PATCH] checkpkg: allow collection of obsoletion info

2011-03-27 Thread maciej
Hi Ben, Here's a patchset that adds support for i-deps to checkpkg. It only adds it to the pickled data structure, it doesn't add them to the database schema -- it'll be done in the future. I think this patchset might help you with adding support for obsoleted packages. Maciej gar/v2/lib/pyth

Re: [csw-devel] [PATCH] checkpkg: allow collection of obsoletion info

2011-03-27 Thread Maciej Bliziński
> + def GetObsoletedBy(self): Add a docstring here. """Collects obsoleteness information. Documentation: http://... Returns: a tuple (bool, list) of (syntax_ok, obsoleted_by) If the package has not been obsoleted, or the package predates the implementation of thi