Hi, On 2016-08-08 11:46:02 +0200, Olaf Hering wrote: > On Mon, Aug 08, Olaf Hering wrote: > > > prjs="Essentials Multimedia" > > mkdir $$ > > cd $_ > > for prj in $prjs > > do > > pbs co -u $prj > > cd $_ > > pbs up -u > > for pkg in * > > do > > ls -1d * | wc -l > > echo $pkg > > sed -i "/\"$pkg\"/d" .osc/_packages > > rm -rf $pkg > > pbs up -u && break > > done > > done > > > > Would it work for OBS?! 'obs ls devel:languages:perl | wc -l' > > 2867 > > The script above works for obs and devel:languages:perl. > So either someone increased the limits for OBS, or decreased the limits > for PMBS, or the defaults are too strict. > Hmm no, actually api.o.o rejects these long uris as well, but it responds with status 414 instead of 500. The question is if the 414 comes directly from the api or from some authentication proxy (ichain/whatever)... To be honest, I haven't tried it locally so far.
As a temporary workaround, you can put the attached script/osc plugin into your ~/.osc-plugins directory (it monkey patches osc.core.get_project_sourceinfo so that it treats status 500 as 414 for this specific api call (yes... that's really, really hacky)). Marcus _______________________________________________ Packman mailing list Packman@links2linux.de http://lists.links2linux.de/cgi-bin/mailman/listinfo/packman