Re: [PD-dev] buildbot or some other proper build automation

2010-08-29 Thread Hans-Christoph Steiner
On Fri, 2010-08-27 at 23:42 +0200, András Murányi wrote:
 
 
 On Fri, Aug 27, 2010 at 6:43 PM, Hans-Christoph Steiner h...@eds.org
 wrote:
 
 
 - Original message -
 The way that this would be super useful is if buildbot
 builds after every
 commit to SVN or git.  It looks like SVN polling
 support is built-in

 http://buildbot.net/buildbot/docs/0.7.12/#SVNPoller


 
 
 i'm at polling... do we have a PROJECT/BRANCHNAME/FILEPATH or a
 BRANCHNAME/PROJECT/FILEPATH repository? Sorry i'm kind of lost with
 repos...
 
 Andras

BRANCHNAME/PROJECT/FILEPATH

i.e.

trunk/externals/maxlib
tags/externals/maxlib/1.1.5

.hc



___
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev


Re: [PD-dev] buildbot or some other proper build automation

2010-08-29 Thread Hans-Christoph Steiner
On Sat, 2010-08-28 at 20:36 +0200, András Murányi wrote:
 
 I think i'll go setup the slaves - then they will only need be
 prepared to start up on boot:
 http://buildbot.net/buildbot/docs/latest/Launching-the-daemons.html 
 where SLAVE_BASEDIRs are /var/lib/buildbot/slavename (or whereever buildbot 
 lives on the particular OS; slavenames are already in 
 /var/lib/buildbot/pd-master/master.cfg, line 65, on 128.238.56.50)
 
 
 Bang, i need to do sudo to set up the slaves...
 
 What i need to do exactly is:
 sudo -u buildbot mkdir /var/lib/buildbot/slavename
 sudo -u buildbot buildbot create-slave /var/lib/buildbot/slavename
 128.238.56.50:8084 slavename password
 sudo -u buildbot buildbot start /var/lib/buildbot/slavename
 
 I shall also fill in the following files:
 /var/lib/buildbot/slavename/info/admin
 /var/lib/buildbot/slavename/info/host

Ok, I ran the first commands on 128.238.56.53 and 128.238.56.55, but it
didn't seem to start.  I added your ssh key so you can ssh to the
buildbot user on those machines. I didn't edit the admin or host files,
since I think you know that stuff better than me.

 Can i get the pass for the pddev users, or we do it another way
 around?

Your ssh key should already be in the pddev account on the PdLab
machines.  There is no password access to those machines, only with SSH
keys.

 I was also thinking: we could move the master to the box that is
 already upgraded... the job of the master is not cpu-intensive at all,
 at it may be not net-intensive as well (if the uploads don't go to the
 master but somewhere else. Disk space is used for the logs only. What
 do you think?

The master is the one with a biggish disk, so it makes sense to use that
one.  Is the version on the master too old to function?  Because I can
upgrade buildbot on that one soon, after the Pd-extended release.

.hc



___
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev


[PD-dev] [ pure-data-Bugs-3055565 ] entry doesn't handle double quotes properly

2010-08-29 Thread SourceForge.net
Bugs item #3055565, was opened at 2010-08-29 15:36
Message generated for change (Tracker Item Submitted) made by jancsika1
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=478070aid=3055565group_id=55736

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Jonathan Wilkes (jancsika1)
Assigned to: Nobody/Anonymous (nobody)
Summary: entry doesn't handle double quotes properly

Initial Comment:
[ set hello world (
|
[entry]

will set the text of [entry] to:
world\ 

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=478070aid=3055565group_id=55736

___
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev


[PD-dev] [ pure-data-Feature Requests-3055576 ] make ctrl-f find scroll down to a match

2010-08-29 Thread SourceForge.net
Feature Requests item #3055576, was opened at 2010-08-29 16:06
Message generated for change (Tracker Item Submitted) made by jancsika1
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=478073aid=3055576group_id=55736

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: Jonathan Wilkes (jancsika1)
Assigned to: Nobody/Anonymous (nobody)
Summary: make ctrl-f find scroll down to a match

Initial Comment:
If you match a term that's not visible in the patch, Pd's find feature won't 
automatically scroll down to it.  It would be nice if it did.

Also, what about a firefox-style find at the bottom of the patch?

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=478073aid=3055576group_id=55736

___
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev


Re: [PD-dev] Patches for automated build testing (was Re: buildbot or some other proper build automation)

2010-08-29 Thread Hans-Christoph Steiner
On Thu, 2010-08-26 at 21:51 +0200, András Murányi wrote:
  We could do something like make DESTDIR=/tmp
  install and then run it from there for tests.
  
  What kinds of tests do you imagine? Buildbot has support for
  unit tests and more.
  
 
 
 Basically running pd patches that are designed to test
 something, then output a standard result, like the word
 SUCCESS or something like that.  We need to write them :)
 
 
 What about starting to make a list of things to test? I'd nominate
 [expr]...
 And (you'll love this :) externals' authors can make similar test
 patches for their stuff!

Yeah, I think people just need to start generating patches.  I updated
the wiki page with some ideas about how it should be structured:

http://puredata.info/docs/developer/SimpleRegressionTesting

.hc


___
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev


[PD-dev] [ pure-data-Bugs-3055587 ] pddplink/helplink clickable area off vertically by ca. 2 px

2010-08-29 Thread SourceForge.net
Bugs item #3055587, was opened at 2010-08-29 16:37
Message generated for change (Tracker Item Submitted) made by jancsika1
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=478070aid=3055587group_id=55736

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Jonathan Wilkes (jancsika1)
Assigned to: Nobody/Anonymous (nobody)
Summary: pddplink/helplink clickable area off vertically by ca. 2 px

Initial Comment:
In run mode, when you move the mouse up to a link from below there seems to be 
about 2 pixel high area where the link will change color (indicating it's 
active) but clicking won't trigger the link.  Also, the mouse-pointer type 
doesn't change in that area, either.

Moving the mouse from above the link, there is about a 2 px area where the link 
doesn't appear active, but if you click it will still trigger the link.

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=478070aid=3055587group_id=55736

___
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev


Re: [PD-dev] buildbot or some other proper build automation

2010-08-29 Thread Hans-Christoph Steiner
On Sun, 2010-08-29 at 22:59 +0200, András Murányi wrote:
 
  
 
 
 http://buildbot.net/buildbot/docs/latest/Launching-the-daemons.html where 
 SLAVE_BASEDIRs are /var/lib/buildbot/slavename (or whereever buildbot lives 
 on the particular OS; slavenames are already in 
 /var/lib/buildbot/pd-master/master.cfg, line 65, on 128.238.56.50)
  
  
   Bang, i need to do sudo to set up the
 slaves...
  
   What i need to do exactly is:
   sudo -u buildbot
 mkdir /var/lib/buildbot/slavename
   sudo -u buildbot buildbot
  create-slave /var/lib/buildbot/slavename
 
   128.238.56.50:8084 slavename password
   sudo -u buildbot buildbot
 start /var/lib/buildbot/slavename
  
   I shall also fill in the following files:
   /var/lib/buildbot/slavename/info/admin
   /var/lib/buildbot/slavename/info/host
 
 
  Ok, I ran the first commands on
 128.238.56.53 and
  128.238.56.55, but it
  didn't seem to start.
 
  Hm you mean the mkdir, create-slave, start lines?
 With the appripriate
  slavename from master.cfg? Was there any output on
 the console?
 
 
 I used the name pd-slave.  Hope that's right.
 
 
 
 Nope, slavenames are
 in /var/lib/buildbot/pd-master/master.cfg, line 65, on
 128.238.56.50. You have to use the unique slavename which
 matches the slave.
  
  
 Silly me, why don't i just send them to you...?
 ubuntuLTS386, ubuntuLTS64, ubuntuCurrent386, debianStable386,
 macosx104_386, macosx104_powerpc, macosx106_64, windowsXP386
 
 Andras

I think you should be able to ssh to buildbot on debian-stable-i386,
ubuntu-lts-i386 (128.238.56.55) and ubuntu-current-i386 (128.238.56.53)
so you could make those yourself.  We need to figure out how to install
buildbot on Mac OS X and Windows/Cygwin.  Both are supposed to include
buildbot, fink has version 0.8.0, will that work?  I think in order to
get the Cygwin one, I need to upgrade Cygwin entirely, which will also
need to wait until after the Pd-extended release.

.hc



___
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev


Re: [PD-dev] buildbot or some other proper build automation

2010-08-29 Thread Hans-Christoph Steiner
On Sun, 2010-08-29 at 22:08 +0200, András Murányi wrote:
 
 Ok, the problem is the backport of buildbot relies on a newer
 version of
 dpkg, which could cause Pd-extended builds to be incompatible
 with a
 plain Debian/lenny machine.  Once Pd-extended is released, I
 can upgrade
 without worrying about it.
 
 I understand.
  
 
 I'd like to keep the 128.238.56.50 machine as the master since
 the rest
 are more or less disposable.  So we can wait for Pd-extended
 to be
 released to upgrade (less than 2 weeks hopefully), we can work
 with the
 version that is installed now, or if you want you could
 install a newer
 version manually, then we can switch to the new Debian package
 once
 Pd-extended is released.
 
 Sounds good. So you mean i shall install a new version somewhere
 under /var/lib/buildbot? Will it run ok as a daemon? Or shall i build
 a new version which you then install over the existing one?

Ok, I just built the package myself from source and removed the
dependency on dpkg 1.15 and set it to 1.14 for lenny instead.  That
means 0.7.12 is now installed on debian-stable-i386.

Also, about the slave names, would it be possible to use the same names
that are on the PdLab page? I.e. not CamelCase, but with-dashes
instead :)

.hc



___
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev


Re: [PD-dev] Raising ~250 USD for the Pd build farm? (was Re: buildbot or some other proper build automation)

2010-08-29 Thread Hans-Christoph Steiner
On Thu, 2010-08-26 at 21:10 +0200, András Murányi wrote:
so... (tada.wav) Vanilla builds alrite
on one slave. Nest step would be
uploading the file, this can be done
internally, just tell me please which
file or directory is the actual build?
And... how do we make a package with the
Vanilla source? Sorry I never built it
myself.
Some more questions that came up
meanwhile: Shall we update or copy the
source each time? (see

 http://buildbot.net/buildbot/docs/latest/Source-Checkout.html) Do we need 
 --enable-jack to configure Vanilla (after autogen)?

Andras


   
   
   The way that this would be super useful is
   if buildbot builds after every commit to
   SVN or git.  It looks like SVN polling
   support is built-in
   
   
   
 http://buildbot.net/buildbot/docs/0.7.12/#SVNPoller
   
   
   For git, it supports checkout, but there
   are some external scripts for polling:
   
   
   http://buildbot.net/buildbot/docs/0.7.12/#Git
   
 http://stackoverflow.com/questions/645430/have-buildbot-poll-a-git-repository-for-new-commits
   http://buildbot.net/trac/ticket/130
   
   
   .hc
   
   
   yes, git is more cumbersome when it comes to
   polling, so i will work this out with daily builds
   and see the polling stuff after. the older
   buildbot version also has some limitations in this
   direction.
  
  
  I think we can start with SVN since that should be
  easier.  If that works nicely, then we can struggle
  to get git polling working.  
  
  Alrite. My box may fall out then, because i cannot handle so
  many build cycles per day, or i'll try to find a way to
  limit it to one build cycle on 'civilian' boxes like mine.
  
 
 
 Ah yes, that makes sense.  I was thinking the full time
 machines.
 
  Or, we could raise money for a 64-bit box? 195 USD is not
  much...
  
 http://cgi.ebay.com/Sun-Microsystems-Sun-Fire-X2100-1-8Ghz-512-RAM-NEW-/140441798951?pt=COMP_EN_Servers
  
 
 
 Or a Dell Zino for 250 USD, its 64-bit and runs Debian/Ubuntu
 nicely. 
 
 
 
 http://www.dell.com/us/en/home/desktops/inspiron-zino-hd/pd.aspx?refid=inspiron-zino-hdcs=19s=dhs
 
 
  
 Cool. The X2100 is basically identical to the Ultra20 i have, it's a
 Tyan main board with Opteron - and runs Debian/Ubuntu nicely :o)
 
 How do we raise the funds? Is there an established way, or idea how to
 do it?
 
 Andras

It would be nice to have a 64-bit Debian machine with a bunch of
chroots, both 32-bit and 64-bit, Debian and Ubuntu.  I suppose it might
also be possible to have Fedora, Gentoo, etc. chroots if someone wanted
to take that on.

A big part of that question is also: who is going to build and maintain
this machine?  I'm overloaded as it is.

.hc



___
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev