[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: New feature for 0.6.103



Hi Ole,

On Tue, Apr 10, 2018 at 03:17:08PM +0200, Ole Streicher wrote:
> Andreas Tille <andreas@an3as.eu> writes:
> > I think we should stick to the well tested UDD queries.  It was quite
> > some work to write these.  The only change I have in mind is to restrict
> > the version query to unstable, testing, stable, oldstable and
> > exprimental (currently it returns everything in UDD).  May be we should
> > also return only one version per release (sometimes kfreebsd or hurd
> > is lagging behind and we have several entries for sid).
> 
> I must confess that I find them by far too complicated and hard to
> maintain, but this is another Baustelle yet.

I've learned that the problem is complex.  You can have the complexity
inside a single (or a small set) of SQL queries or you do several
smaller queries and deal with the complexity inside the Python code.  In
the beginning I started with the latter approach.  It turned out that
data traffic between the PostgreSQL client and the UDD host should be
reduced to a minimum.  I had *severe* performance issues when doing
several simple queries.  That's the reason why the goal was to get all
data with a single query.  I did not do this just for fun. ;-)
 
> >> So, I will now add a "python3-blends" package, which however needs then
> >> to go though NEW... If then everyone is happy, we can move back to
> >> unstable.
> >
> > Fine for me.
> 
> I pushed the changes for the split. You can now also to a "from blends
> import Deb822List" as long as it is not merged into the python-debian
> package. 

I've fixed tasks_diff accordingly.
 
> The python3-blends package also contains the HTML documentation.
> 
> Could you have a look before I upload? I would otherwise upload
> tomorrow.

I've set "Standards-Version: 4.1.4"

I'm not sure about the UDD usage.  I've manually used 

  /usr/share/blends-dev/blend-gen-control --udd -r UNRELEASED -S -t

but it seems its not doing anything.  I also assumed that I do not need
to do anything manually but could do something like

med(master) $ git diff Makefile 
diff --git a/Makefile b/Makefile
index e05adcc..e5ae206 100755
--- a/Makefile
+++ b/Makefile
@@ -2,6 +2,8 @@
 
 BLENDMAKEFILE=/usr/share/blends-dev/Makefile
 
+GENCONTROL_OPTS = --udd
+
 CheckBLENDMakefile := $(shell if [ -e $(BLENDMAKEFILE) ] ; then echo 1 ; else echo 0 ; fi)
 ifeq ($(CheckBLENDMakefile),1)
     include $(BLENDMAKEFILE)


But this does not have any effect.  Am I missing something?

Kind regards

       Andreas.

-- 
http://fam-tille.de


Reply to: