Re: Is Access to Salsa restricted to a certain number of queries per time and host?

2018-07-11 Thread Andreas Tille
Hi Julien, On Wed, Jul 11, 2018 at 05:18:18PM +0200, Julien Cristau wrote: > > Is there any smart way to obtain the latest activity time stamp? > > I don't know about smart, but each project has a last_activity_at > attribute which I'm assuming is an overapproximation of repository activity.

Re: Is Access to Salsa restricted to a certain number of queries per time and host?

2018-07-11 Thread Julien Cristau
On 07/11/2018 04:51 PM, Andreas Tille wrote: > On Wed, Jul 11, 2018 at 01:34:29PM +0200, Julien Cristau wrote: >> >> You could probably save yourself some trouble by not polling repos that >> have had no activity since you last looked at them. > > Is there any smart way to obtain the latest

Re: Is Access to Salsa restricted to a certain number of queries per time and host?

2018-07-11 Thread Ian Jackson
Andreas Tille writes ("Re: Is Access to Salsa restricted to a certain number of queries per time and host?"): > on Alioth. But this does not work for remote repositories. May be > I'm missing something but how can I do this by using > git ls-remote > ? I have not found out how to get the

Re: Is Access to Salsa restricted to a certain number of queries per time and host?

2018-07-11 Thread Ian Jackson
Andreas Tille writes ("Re: Is Access to Salsa restricted to a certain number of queries per time and host?"): > On Wed, Jul 11, 2018 at 11:55:11AM +, Peter Palfrader wrote: > > Or keeping a local clone and git pulling each of them over the course of > > a week. > > Unfortunately I do not

Re: Is Access to Salsa restricted to a certain number of queries per time and host?

2018-07-11 Thread Andreas Tille
On Wed, Jul 11, 2018 at 07:55:57AM -0400, James McCoy wrote: > > You could probably save yourself some trouble by not polling repos that > > have had no activity since you last looked at them. > > Or by setting up a webhook[0] so the relevant repos can notify you when > there's a commit that

Re: Is Access to Salsa restricted to a certain number of queries per time and host?

2018-07-11 Thread Andreas Tille
On Wed, Jul 11, 2018 at 11:55:11AM +, Peter Palfrader wrote: > > > > This could be done with gis-ls-remote, which is probably a lot more > > lightweight than Gitlab API calls. > > Or keeping a local clone and git pulling each of them over the course of > a week. Unfortunately I do not have

Re: Is Access to Salsa restricted to a certain number of queries per time and host?

2018-07-11 Thread Andreas Tille
Hi Ian, On Wed, Jul 11, 2018 at 12:48:04PM +0100, Ian Jackson wrote: > Julien Cristau writes ("Re: Is Access to Salsa restricted to a certain number > of queries per time and host?"): > > You could probably save yourself some trouble by not polling repos that > > have had no activity since you

Re: Is Access to Salsa restricted to a certain number of queries per time and host?

2018-07-11 Thread Andreas Tille
On Wed, Jul 11, 2018 at 01:34:29PM +0200, Julien Cristau wrote: > > You could probably save yourself some trouble by not polling repos that > have had no activity since you last looked at them. Is there any smart way to obtain the latest activity time stamp? > You're also right that salsa

Re: Is Access to Salsa restricted to a certain number of queries per time and host?

2018-07-11 Thread James McCoy
On Wed, Jul 11, 2018 at 01:34:29PM +0200, Julien Cristau wrote: > On 07/11/2018 10:18 AM, Andreas Tille wrote: > > Hi, > > > > I'm running a daily cron job on host blends.debian.net to gather machine > > readable data from all blends packages. The cron job fetches only the > > following files >

Re: Is Access to Salsa restricted to a certain number of queries per time and host?

2018-07-11 Thread Peter Palfrader
On Wed, 11 Jul 2018, Ian Jackson wrote: > Julien Cristau writes ("Re: Is Access to Salsa restricted to a certain number > of queries per time and host?"): > > You could probably save yourself some trouble by not polling repos that > > have had no activity since you last looked at them. > > This

Re: Is Access to Salsa restricted to a certain number of queries per time and host?

2018-07-11 Thread Ian Jackson
Julien Cristau writes ("Re: Is Access to Salsa restricted to a certain number of queries per time and host?"): > You could probably save yourself some trouble by not polling repos that > have had no activity since you last looked at them. This could be done with gis-ls-remote, which is probably

Re: Is Access to Salsa restricted to a certain number of queries per time and host?

2018-07-11 Thread Julien Cristau
On 07/11/2018 10:18 AM, Andreas Tille wrote: > Hi, > > I'm running a daily cron job on host blends.debian.net to gather machine > readable data from all blends packages. The cron job fetches only the > following files > > debian/changelog > debian/control > debian/copyright >

Is Access to Salsa restricted to a certain number of queries per time and host?

2018-07-11 Thread Andreas Tille
Hi, I'm running a daily cron job on host blends.debian.net to gather machine readable data from all blends packages. The cron job fetches only the following files debian/changelog debian/control debian/copyright debian/README.Debian debian/upstream/edam