Hi Eyal,

A couple of blockers -

1) I'm trying to do this api call to list the email address after fetching the full name from the change log.
$ curl -H "Content-Type:application/json" --digest --user vissree:1a5kDGvXLwh1 "http://gerrit.ovirt.org/a/accounts/Alon Bar-Lev/emails" 
not allowed to list email addresses

Looks like I don't have permissions to do this api-call.

2) Tried to push an initial copy of the script to git, but failed with an authorization error there as well. Could you please let me know if there is a process I need to follow before committing my changes to the repo?

Thanks,
Vishnu



On Tue Jan 27 2015 at 7:59:43 PM Eyal Edri <eedri@redhat.com> wrote:


----- Original Message -----
> From: "Vishnu Sreekumar" <vishnu.srkmr@gmail.com>
> To: "Eyal Edri" <eedri@redhat.com>
> Cc: "Barak Korren" <bkorren@redhat.com>, "David Caro Estevez" <dcaroest@redhat.com>, amureini@redhat.com,
> infra@ovirt.org
> Sent: Tuesday, January 27, 2015 1:30:45 PM
> Subject: Re: Introduction: Vishnu
>
> Hi Eyal,
>
> Have a few questions.
>
> I've not used Gerrit so far - I am assuming that patches are same as
> changes and using this api call -
> http://gerrit.ovirt.org/a/changes/?q=status:open
> Do I need to pull the changes from all projects?

the most used projects are 'ovirt-engine' and 'vdsm', but i'd plan it to be configurable to read from a list of projects,
so we'll be able to control the list of project we want to monitor.

> Is there anything I need to check other than the "updated": date stamp to
> scan for activity?

we're running gerrit version 2.8.3 now so the relevant documentation for it is at [1],
and more specifically the cli [2].
i think the "age:" query might be most relevant, but it worth scanning the documentation
for the most relevant query to do it.  (might be connected to the "updated" field indeed).
after you login to gerrit.ovirt.org, you can run queries to test of course before starting to write code..

e.


[1] http://gerrit-documentation.storage.googleapis.com/Documentation/2.8.3/index.html
[2] http://gerrit-documentation.storage.googleapis.com/Documentation/2.8.3/cmd-index.html

>
> Thanks,
> Vishnu
>
> On Tue Jan 27 2015 at 4:46:34 PM Vishnu Sreekumar <vishnu.srkmr@gmail.com>
> wrote:
>
> > Sure, will take a look and ping you if I have questions. Thanks Eyal.
> >
> > --
> > Vishnu
> >
> > On Tue Jan 27 2015 at 4:43:56 PM Eyal Edri <eedri@redhat.com> wrote:
> >
> >>
> >>
> >> ----- Original Message -----
> >> > From: "Vishnu Sreekumar" <vishnu.srkmr@gmail.com>
> >> > To: "Barak Korren" <bkorren@redhat.com>, "David Caro Estevez" <
> >> dcaroest@redhat.com>, amureini@redhat.com
> >> > Cc: infra@ovirt.org
> >> > Sent: Tuesday, January 27, 2015 5:43:40 AM
> >> > Subject: Re: Introduction: Vishnu
> >> >
> >> > Thank y'all..! :)
> >> >
> >> > Just curious if there is a list of apprentice tasks which I can pick
> >> from to
> >> > start with.
> >> >
> >>
> >> Hey Vishnu,
> >> You can take this one [1]
> >> which is to write a script that will use gerrit.ovirt.org api to scan
> >> for old patches
> >> and alerts or abandon them according to criteria.
> >> you can commit the script to the jenkins repo [2], under scripts dir.
> >> (btw. there is already an initial python script there you can use or
> >> refactor if you want).
> >>
> >> you'll need to login to gerrit.ovirt.org 1st and provide your public SSH
> >> key to get read access for it.
> >> once that script will be ready, we'll guide you how it can be added to
> >> jenkins.ovirt.org as a job using the jenkins job builder
> >> syntax.
> >>
> >> is that something that you'll be interested in doing?
> >> and thanks again for pitching in!
> >>
> >> Good luck
> >>
> >> Eyal.
> >>
> >>
> >> [1] https://fedorahosted.org/ovirt/ticket/255
> >> [2] git://gerrit.ovirt.org/jenkins
> >>
> >> > Thanks,
> >> > Vishnu
> >> >
> >> > On Tue Jan 27 2015 at 1:33:37 AM Barak Korren < bkorren@redhat.com >
> >> wrote:
> >> >
> >> >
> >> >
> >> > Welcome Vishnu!
> >> >
> >> >
> >> >
> >> >
> >> >
> >> > From: "Vishnu Sreekumar" < vishnu.srkmr@gmail.com >
> >> > To: "Eyal Edri" < eedri@redhat.com >
> >> > Cc: infra@ovirt.org
> >> > Sent: Monday, January 26, 2015 11:01:51 AM
> >> > Subject: Re: Introduction: Vishnu
> >> >
> >> >
> >> >
> >> >
> >> > Thanks Eyal and happy to be on board..!
> >> >
> >> > --
> >> > Vishnu
> >> >
> >> > On Mon Jan 26 2015 at 4:58:58 PM Eyal Edri < eedri@redhat.com > wrote:
> >> >
> >> >
> >> > Welcome Vishnu!
> >> >
> >> > It's great to see someone willing to join the ovirt infra team :)
> >> > We have lots of packaging and configuration management tasks you can
> >> > contribute to, so no worries :)
> >> >
> >> > We have a weekly meeting usually on irc #ovirt channel on Thursdays,
> >> 5:00 PM
> >> > (UTC +2),
> >> > so you're welcome to join.
> >> > we also give an update on the infra team during weekly ovirt meetings on
> >> > #ovirt, at Wed, 5:00 PM (UTC+2).
> >> >
> >> > Some info on the team:
> >> > -----------------------
> >> > wiki - http://www.ovirt.org/Infra
> >> > trac - https://fedorahosted.org/ ovirt/report/1
> >> >
> >> > David Caro (cc'd), the one who mentioned oVirt the blog [1], is leading
> >> the
> >> > infra effort in the team, so you can ping
> >> > him anytime on irc and he'll get you up to speed with our open efforts.
> >> > there is usually a period of being an apprentice before joining and a
> >> fully
> >> > infra memeber with permissions to all the relevant services,
> >> > you can read about it on the wiki or just ask us!
> >> >
> >> > feel free to use this list to ask any relevant question you have on the
> >> team
> >> > or oVirt infra in general.
> >> >
> >> > Welcome,
> >> >
> >> > Eyal.
> >> >
> >> >
> >> > [1] https://www.linux.com/learn/ linux-certifications/799202-
> >> > how-to-gain-experience-as-a- volunteer-sysadmin-on-an-open-
> >> source-project
> >> >
> >> > ----- Original Message -----
> >> > > From: "Vishnu Sreekumar" < vishnu.srkmr@gmail.com >
> >> > > To: infra@ovirt.org
> >> > > Sent: Monday, January 26, 2015 6:29:14 AM
> >> > > Subject: Introduction: Vishnu
> >> > >
> >> > > Hi,
> >> > >
> >> > > I have been working as a Linux Admin for the last 7 years. I use
> >> Python,
> >> > > Ruby
> >> > > and Bash for scripting and have got some hands on in configuration
> >> > > management using Chef.
> >> > >
> >> > > I wanted to contribute to an Open Source project for long time and
> >> Susan
> >> > > Hall's this blog post landed me in Ovirt.
> >> > > https://www.linux.com/learn/ linux-certifications/799202-
> >> > > how-to-gain-experience-as-a- volunteer-sysadmin-on-an-open-
> >> source-project
> >> > >
> >> > > I use Amazon Web Services a lot as part of my job and trying to learn
> >> > > private
> >> > > and public cloud computing space. I'm pretty new to OVirt and yet to
> >> try it
> >> > > out, but do want to help the Infrastructure team. I'm interested in
> >> getting
> >> > > involved more in Packaging and configuration management.
> >> > >
> >> > > My IRC handle is vissree
> >> > >
> >> > > Thanks,
> >> > > Vishnu
> >> > > sg.linkedin.com/in/svishnu/
> >> > >
> >> > > ______________________________ _________________
> >> > > Infra mailing list
> >> > > Infra@ovirt.org
> >> > > http://lists.ovirt.org/ mailman/listinfo/infra
> >> > >
> >> >
> >> > _______________________________________________
> >> > Infra mailing list
> >> > Infra@ovirt.org
> >> > http://lists.ovirt.org/mailman/listinfo/infra
> >> >
> >> > _______________________________________________
> >> > Infra mailing list
> >> > Infra@ovirt.org
> >> > http://lists.ovirt.org/mailman/listinfo/infra
> >> >
> >>
> >
>