Hi David,<div><br><div class="gmail_quote">On Fri Jan 30 2015 at 11:06:42 PM David Caro Estevez <<a href="mailto:dcaroest@redhat.com">dcaroest@redhat.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 01/30, Vishnu Sreekumar wrote:<br>
> Hi Eyal,<br>
><br>
> A couple of blockers -<br>
><br>
> 1) I'm trying to do this api call to list the email address after fetching<br>
> the full name from the change log.<br>
> *$ curl -H "Content-Type:application/<u></u>json" --digest --user<br>
> vissree:1a5kDGvXLwh1 "<a href="http://gerrit.ovirt.org/a/accounts/Alon" target="_blank">http://gerrit.ovirt.org/a/<u></u>accounts/Alon</a><br>
> <<a href="http://gerrit.ovirt.org/a/accounts/Alon" target="_blank">http://gerrit.ovirt.org/a/<u></u>accounts/Alon</a>> Bar-Lev/emails" *<br>
> *not allowed to list email addresses*<br>
<br>
Couple of suggestion, use https and change your http pass ASAP (and don't pass<br>
it again on a public mail list)<br></blockquote><div><br></div><div>Forgot to hash the password between copy-pastes. Thanks for pointing out. Replaced the password.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Normal users don't have permission to list email addresses (to avoid spamming).<br>
<br>
<br>
you can use the ssh call instead, that will get you the info you want (you can<br>
pass --format=json too if you prefer json to yaml).<br>
<br>
><br>
> Looks like I don't have permissions to do this api-call.<br>
><br>
> 2) Tried to push an initial copy of the script to git, but failed with an<br>
> authorization error there as well. Could you please let me know if there is<br>
> a process I need to follow before committing my changes to the repo?<br>
<br>
Where did you pushed it to?<br>
<br>
You should puth it to a custom ref for gerrit to know it's a patch, usually:<br>
<br>
git push origin HEAD:refs/for/master<br>
<br>
Changing master for the branch you want the patch to go to. Is that what you<br>
did?<br>
<br></blockquote><div>I created a new file altogether. Do I need to create a new branch and do a pull request or can I commit directly to master?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
><br>
> Thanks,<br>
> Vishnu<br>
><br>
><br>
><br>
> On Tue Jan 27 2015 at 7:59:43 PM Eyal Edri <<a href="mailto:eedri@redhat.com" target="_blank">eedri@redhat.com</a>> wrote:<br>
><br>
> ><br>
> ><br>
> > ----- Original Message -----<br>
> > > From: "Vishnu Sreekumar" <<a href="mailto:vishnu.srkmr@gmail.com" target="_blank">vishnu.srkmr@gmail.com</a>><br>
> > > To: "Eyal Edri" <<a href="mailto:eedri@redhat.com" target="_blank">eedri@redhat.com</a>><br>
> > > Cc: "Barak Korren" <<a href="mailto:bkorren@redhat.com" target="_blank">bkorren@redhat.com</a>>, "David Caro Estevez" <<br>
> > <a href="mailto:dcaroest@redhat.com" target="_blank">dcaroest@redhat.com</a>>, <a href="mailto:amureini@redhat.com" target="_blank">amureini@redhat.com</a>,<br>
> > > <a href="mailto:infra@ovirt.org" target="_blank">infra@ovirt.org</a><br>
> > > Sent: Tuesday, January 27, 2015 1:30:45 PM<br>
> > > Subject: Re: Introduction: Vishnu<br>
> > ><br>
> > > Hi Eyal,<br>
> > ><br>
> > > Have a few questions.<br>
> > ><br>
> > > I've not used Gerrit so far - I am assuming that patches are same as<br>
> > > changes and using this api call -<br>
> > > <a href="http://gerrit.ovirt.org/a/changes/?q=status:open" target="_blank">http://gerrit.ovirt.org/a/<u></u>changes/?q=status:open</a><br>
> > > Do I need to pull the changes from all projects?<br>
> ><br>
> > the most used projects are 'ovirt-engine' and 'vdsm', but i'd plan it to<br>
> > be configurable to read from a list of projects,<br>
> > so we'll be able to control the list of project we want to monitor.<br>
> ><br>
> > > Is there anything I need to check other than the "updated": date stamp to<br>
> > > scan for activity?<br>
> ><br>
> > we're running gerrit version 2.8.3 now so the relevant documentation for<br>
> > it is at [1],<br>
> > and more specifically the cli [2].<br>
> > i think the "age:" query might be most relevant, but it worth scanning the<br>
> > documentation<br>
> > for the most relevant query to do it. (might be connected to the<br>
> > "updated" field indeed).<br>
> > after you login to <a href="http://gerrit.ovirt.org" target="_blank">gerrit.ovirt.org</a>, you can run queries to test of<br>
> > course before starting to write code..<br>
> ><br>
> > e.<br>
> ><br>
> ><br>
> > [1] <a href="http://gerrit-documentation.storage.googleapis.com/" target="_blank">http://gerrit-documentation.<u></u>storage.googleapis.com/</a><br>
> > Documentation/2.8.3/index.html<br>
> > [2] <a href="http://gerrit-documentation.storage.googleapis.com/" target="_blank">http://gerrit-documentation.<u></u>storage.googleapis.com/</a><br>
> > Documentation/2.8.3/cmd-index.<u></u>html<br>
> ><br>
> > ><br>
> > > Thanks,<br>
> > > Vishnu<br>
> > ><br>
> > > On Tue Jan 27 2015 at 4:46:34 PM Vishnu Sreekumar <<br>
> > <a href="mailto:vishnu.srkmr@gmail.com" target="_blank">vishnu.srkmr@gmail.com</a>><br>
> > > wrote:<br>
> > ><br>
> > > > Sure, will take a look and ping you if I have questions. Thanks Eyal.<br>
> > > ><br>
> > > > --<br>
> > > > Vishnu<br>
> > > ><br>
> > > > On Tue Jan 27 2015 at 4:43:56 PM Eyal Edri <<a href="mailto:eedri@redhat.com" target="_blank">eedri@redhat.com</a>> wrote:<br>
> > > ><br>
> > > >><br>
> > > >><br>
> > > >> ----- Original Message -----<br>
> > > >> > From: "Vishnu Sreekumar" <<a href="mailto:vishnu.srkmr@gmail.com" target="_blank">vishnu.srkmr@gmail.com</a>><br>
> > > >> > To: "Barak Korren" <<a href="mailto:bkorren@redhat.com" target="_blank">bkorren@redhat.com</a>>, "David Caro Estevez" <<br>
> > > >> <a href="mailto:dcaroest@redhat.com" target="_blank">dcaroest@redhat.com</a>>, <a href="mailto:amureini@redhat.com" target="_blank">amureini@redhat.com</a><br>
> > > >> > Cc: <a href="mailto:infra@ovirt.org" target="_blank">infra@ovirt.org</a><br>
> > > >> > Sent: Tuesday, January 27, 2015 5:43:40 AM<br>
> > > >> > Subject: Re: Introduction: Vishnu<br>
> > > >> ><br>
> > > >> > Thank y'all..! :)<br>
> > > >> ><br>
> > > >> > Just curious if there is a list of apprentice tasks which I can pick<br>
> > > >> from to<br>
> > > >> > start with.<br>
> > > >> ><br>
> > > >><br>
> > > >> Hey Vishnu,<br>
> > > >> You can take this one [1]<br>
> > > >> which is to write a script that will use <a href="http://gerrit.ovirt.org" target="_blank">gerrit.ovirt.org</a> api to scan<br>
> > > >> for old patches<br>
> > > >> and alerts or abandon them according to criteria.<br>
> > > >> you can commit the script to the jenkins repo [2], under scripts dir.<br>
> > > >> (btw. there is already an initial python script there you can use or<br>
> > > >> refactor if you want).<br>
> > > >><br>
> > > >> you'll need to login to <a href="http://gerrit.ovirt.org" target="_blank">gerrit.ovirt.org</a> 1st and provide your public<br>
> > SSH<br>
> > > >> key to get read access for it.<br>
> > > >> once that script will be ready, we'll guide you how it can be added to<br>
> > > >> <a href="http://jenkins.ovirt.org" target="_blank">jenkins.ovirt.org</a> as a job using the jenkins job builder<br>
> > > >> syntax.<br>
> > > >><br>
> > > >> is that something that you'll be interested in doing?<br>
> > > >> and thanks again for pitching in!<br>
> > > >><br>
> > > >> Good luck<br>
> > > >><br>
> > > >> Eyal.<br>
> > > >><br>
> > > >><br>
> > > >> [1] <a href="https://fedorahosted.org/ovirt/ticket/255" target="_blank">https://fedorahosted.org/<u></u>ovirt/ticket/255</a><br>
> > > >> [2] git://<a href="http://gerrit.ovirt.org/jenkins" target="_blank">gerrit.ovirt.org/jenkins</a><br>
> > > >><br>
> > > >> > Thanks,<br>
> > > >> > Vishnu<br>
> > > >> ><br>
> > > >> > On Tue Jan 27 2015 at 1:33:37 AM Barak Korren < <a href="mailto:bkorren@redhat.com" target="_blank">bkorren@redhat.com</a><br>
> > ><br>
> > > >> wrote:<br>
> > > >> ><br>
> > > >> ><br>
> > > >> ><br>
> > > >> > Welcome Vishnu!<br>
> > > >> ><br>
> > > >> ><br>
> > > >> ><br>
> > > >> ><br>
> > > >> ><br>
> > > >> > From: "Vishnu Sreekumar" < <a href="mailto:vishnu.srkmr@gmail.com" target="_blank">vishnu.srkmr@gmail.com</a> ><br>
> > > >> > To: "Eyal Edri" < <a href="mailto:eedri@redhat.com" target="_blank">eedri@redhat.com</a> ><br>
> > > >> > Cc: <a href="mailto:infra@ovirt.org" target="_blank">infra@ovirt.org</a><br>
> > > >> > Sent: Monday, January 26, 2015 11:01:51 AM<br>
> > > >> > Subject: Re: Introduction: Vishnu<br>
> > > >> ><br>
> > > >> ><br>
> > > >> ><br>
> > > >> ><br>
> > > >> > Thanks Eyal and happy to be on board..!<br>
> > > >> ><br>
> > > >> > --<br>
> > > >> > Vishnu<br>
> > > >> ><br>
> > > >> > On Mon Jan 26 2015 at 4:58:58 PM Eyal Edri < <a href="mailto:eedri@redhat.com" target="_blank">eedri@redhat.com</a> ><br>
> > wrote:<br>
> > > >> ><br>
> > > >> ><br>
> > > >> > Welcome Vishnu!<br>
> > > >> ><br>
> > > >> > It's great to see someone willing to join the ovirt infra team :)<br>
> > > >> > We have lots of packaging and configuration management tasks you can<br>
> > > >> > contribute to, so no worries :)<br>
> > > >> ><br>
> > > >> > We have a weekly meeting usually on irc #ovirt channel on Thursdays,<br>
> > > >> 5:00 PM<br>
> > > >> > (UTC +2),<br>
> > > >> > so you're welcome to join.<br>
> > > >> > we also give an update on the infra team during weekly ovirt<br>
> > meetings on<br>
> > > >> > #ovirt, at Wed, 5:00 PM (UTC+2).<br>
> > > >> ><br>
> > > >> > Some info on the team:<br>
> > > >> > -----------------------<br>
> > > >> > wiki - <a href="http://www.ovirt.org/Infra" target="_blank">http://www.ovirt.org/Infra</a><br>
> > > >> > trac - <a href="https://fedorahosted.org/" target="_blank">https://fedorahosted.org/</a> ovirt/report/1<br>
> > > >> ><br>
> > > >> > David Caro (cc'd), the one who mentioned oVirt the blog [1], is<br>
> > leading<br>
> > > >> the<br>
> > > >> > infra effort in the team, so you can ping<br>
> > > >> > him anytime on irc and he'll get you up to speed with our open<br>
> > efforts.<br>
> > > >> > there is usually a period of being an apprentice before joining and<br>
> > a<br>
> > > >> fully<br>
> > > >> > infra memeber with permissions to all the relevant services,<br>
> > > >> > you can read about it on the wiki or just ask us!<br>
> > > >> ><br>
> > > >> > feel free to use this list to ask any relevant question you have on<br>
> > the<br>
> > > >> team<br>
> > > >> > or oVirt infra in general.<br>
> > > >> ><br>
> > > >> > Welcome,<br>
> > > >> ><br>
> > > >> > Eyal.<br>
> > > >> ><br>
> > > >> ><br>
> > > >> > [1] <a href="https://www.linux.com/learn/" target="_blank">https://www.linux.com/learn/</a> linux-certifications/799202-<br>
> > > >> > how-to-gain-experience-as-a- volunteer-sysadmin-on-an-open-<br>
> > > >> source-project<br>
> > > >> ><br>
> > > >> > ----- Original Message -----<br>
> > > >> > > From: "Vishnu Sreekumar" < <a href="mailto:vishnu.srkmr@gmail.com" target="_blank">vishnu.srkmr@gmail.com</a> ><br>
> > > >> > > To: <a href="mailto:infra@ovirt.org" target="_blank">infra@ovirt.org</a><br>
> > > >> > > Sent: Monday, January 26, 2015 6:29:14 AM<br>
> > > >> > > Subject: Introduction: Vishnu<br>
> > > >> > ><br>
> > > >> > > Hi,<br>
> > > >> > ><br>
> > > >> > > I have been working as a Linux Admin for the last 7 years. I use<br>
> > > >> Python,<br>
> > > >> > > Ruby<br>
> > > >> > > and Bash for scripting and have got some hands on in configuration<br>
> > > >> > > management using Chef.<br>
> > > >> > ><br>
> > > >> > > I wanted to contribute to an Open Source project for long time and<br>
> > > >> Susan<br>
> > > >> > > Hall's this blog post landed me in Ovirt.<br>
> > > >> > > <a href="https://www.linux.com/learn/" target="_blank">https://www.linux.com/learn/</a> linux-certifications/799202-<br>
> > > >> > > how-to-gain-experience-as-a- volunteer-sysadmin-on-an-open-<br>
> > > >> source-project<br>
> > > >> > ><br>
> > > >> > > I use Amazon Web Services a lot as part of my job and trying to<br>
> > learn<br>
> > > >> > > private<br>
> > > >> > > and public cloud computing space. I'm pretty new to OVirt and yet<br>
> > to<br>
> > > >> try it<br>
> > > >> > > out, but do want to help the Infrastructure team. I'm interested<br>
> > in<br>
> > > >> getting<br>
> > > >> > > involved more in Packaging and configuration management.<br>
> > > >> > ><br>
> > > >> > > My IRC handle is vissree<br>
> > > >> > ><br>
> > > >> > > Thanks,<br>
> > > >> > > Vishnu<br>
> > > >> > > <a href="http://sg.linkedin.com/in/svishnu/" target="_blank">sg.linkedin.com/in/svishnu/</a><br>
> > > >> > ><br>
> > > >> > > ______________________________ _________________<br>
> > > >> > > Infra mailing list<br>
> > > >> > > <a href="mailto:Infra@ovirt.org" target="_blank">Infra@ovirt.org</a><br>
> > > >> > > <a href="http://lists.ovirt.org/" target="_blank">http://lists.ovirt.org/</a> mailman/listinfo/infra<br>
> > > >> > ><br>
> > > >> ><br>
> > > >> > ______________________________<u></u>_________________<br>
> > > >> > Infra mailing list<br>
> > > >> > <a href="mailto:Infra@ovirt.org" target="_blank">Infra@ovirt.org</a><br>
> > > >> > <a href="http://lists.ovirt.org/mailman/listinfo/infra" target="_blank">http://lists.ovirt.org/<u></u>mailman/listinfo/infra</a><br>
> > > >> ><br>
> > > >> > ______________________________<u></u>_________________<br>
> > > >> > Infra mailing list<br>
> > > >> > <a href="mailto:Infra@ovirt.org" target="_blank">Infra@ovirt.org</a><br>
> > > >> > <a href="http://lists.ovirt.org/mailman/listinfo/infra" target="_blank">http://lists.ovirt.org/<u></u>mailman/listinfo/infra</a><br>
> > > >> ><br>
> > > >><br>
> > > ><br>
> > ><br>
> ><br>
<br>
--<br>
David Caro<br>
<br>
Red Hat S.L.<br>
Continuous Integration Engineer - EMEA ENG Virtualization R&D<br>
<br>
Tel.: +420 532 294 605<br>
Email: <a href="mailto:dcaro@redhat.com" target="_blank">dcaro@redhat.com</a><br>
Web: <a href="http://www.redhat.com" target="_blank">www.redhat.com</a><br>
RHT Global #: 82-62605<br>
</blockquote></div></div>