Since we're going to be deploying AutoQA 0.7.0 soon, we need to have documentation about the new features.
I've written up some installation instructions for YOURLS to be used in AutoQA. I'd appreciate comments and a look over to make sure that I didn't get anything wrong.
https://fedoraproject.org/wiki/Install_and_configure_YOURLS_for_AutoQA
Thanks,
Tim
Tim, I've followed your step-by-step and had everything working.
John.
Hi Tim,
regarding to 'Final Configuration': I don't know if I am doing something wrong but I've always had to point a browser to 'http://localhost/yourls/admin' instead of 'http://localhost/yourls' when finishing the configuration, the latter gives me 403.
Other than that (and couple of typos that I fixed) it looks good to me!
Martin
----- Original Message -----
From: "Tim Flink" tflink@redhat.com To: autoqa-devel@lists.fedorahosted.org Sent: Thursday, November 17, 2011 10:31:30 PM Subject: Draft Installation Instructions for YOURLS
Since we're going to be deploying AutoQA 0.7.0 soon, we need to have documentation about the new features.
I've written up some installation instructions for YOURLS to be used in AutoQA. I'd appreciate comments and a look over to make sure that I didn't get anything wrong.
https://fedoraproject.org/wiki/Install_and_configure_YOURLS_for_AutoQA
Thanks,
Tim
autoqa-devel mailing list autoqa-devel@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/autoqa-devel
On Fri, 18 Nov 2011 07:06:20 -0500 (EST) Martin Krizek mkrizek@redhat.com wrote:
Hi Tim,
regarding to 'Final Configuration': I don't know if I am doing something wrong but I've always had to point a browser to 'http://localhost/yourls/admin' instead of 'http://localhost/yourls' when finishing the configuration, the latter gives me 403.
You're right, it's supposed to be http://localhost/yourls/admin/ not http:/localhost/yourls [1]. I fixed it.
Tim
Since we're going to be deploying AutoQA 0.7.0 soon, we need to have documentation about the new features.
I've written up some installation instructions for YOURLS to be used in AutoQA. I'd appreciate comments and a look over to make sure that I didn't get anything wrong.
https://fedoraproject.org/wiki/Install_and_configure_YOURLS_for_AutoQA
I have added the link to https://fedoraproject.org/wiki/Install_and_configure_AutoQA : https://fedoraproject.org/w/index.php?title=Install_and_configure_AutoQA&...
I'll also make sure I have documentation for https://fedorahosted.org/autoqa/ticket/254 ready.
Since we're going to be deploying AutoQA 0.7.0 soon, we need to have documentation about the new features.
I've written up some installation instructions for YOURLS to be used in AutoQA. I'd appreciate comments and a look over to make sure that I didn't get anything wrong.
https://fedoraproject.org/wiki/Install_and_configure_YOURLS_for_AutoQA
I have made many adjustments in that page when I tried to configure and use yourls. Currently I am stuck at no documentation for /etc/autoqa/yourls.conf. I believe it should be included in that page. This is my configuration file now (aqd is my server):
[yourls] baseurl=http://aqd/report apiurl=http://aqd/report/yourls-api.php username=username password=password urltitle=
Test ends with:
Traceback (most recent call last): File "/usr/share/autotest/common_lib/test.py", line 618, in _call_test_function return func(*args, **dargs) File "/usr/share/autotest/common_lib/test.py", line 291, in execute postprocess_profiled_run, args, dargs) File "/usr/share/autotest/common_lib/test.py", line 211, in _call_run_once self.run_once(*args, **dargs) File "/usr/lib/python2.7/site-packages/autoqa/decorators.py", line 72, in newf f_result = f(*args, **kwargs) #call the decorated function File "/usr/share/autotest/tests/rpmlint/rpmlint.py", line 85, in run_once self.post_results(optin={'pkg': name, 'kojitag': kojitag}) File "/usr/lib/python2.7/site-packages/autoqa/test.py", line 232, in post_results self._send_email(test_detail, optin=optin, logname=logname) File "/usr/lib/python2.7/site-packages/autoqa/test.py", line 293, in _send_email logname=logname) File "/usr/lib/python2.7/site-packages/autoqa/test.py", line 335, in _create_email_body url = self._shorten_url(self.url['result_dir'] + urllib.quote(logname), test_detail) File "/usr/lib/python2.7/site-packages/autoqa/test.py", line 180, in _shorten_url url = self._yourls_client.shorten(url) File "/usr/lib/python2.7/site-packages/yourls/client.py", line 108, in shorten raw_data = json.loads(self._send_request(args)) File "/usr/lib/python2.7/site-packages/yourls/client.py", line 80, in _send_request r = urllib2.urlopen(req) File "/usr/lib64/python2.7/urllib2.py", line 126, in urlopen return _opener.open(url, data, timeout) File "/usr/lib64/python2.7/urllib2.py", line 398, in open response = meth(req, response) File "/usr/lib64/python2.7/urllib2.py", line 511, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib64/python2.7/urllib2.py", line 436, in error return self._call_chain(*args) File "/usr/lib64/python2.7/urllib2.py", line 370, in _call_chain result = func(*args) File "/usr/lib64/python2.7/urllib2.py", line 519, in http_error_default raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) HTTPError: HTTP Error 404: Not Found
Hints?
On Mon, 21 Nov 2011 05:31:22 -0500 (EST) Kamil Paral kparal@redhat.com wrote:
Since we're going to be deploying AutoQA 0.7.0 soon, we need to have documentation about the new features.
I've written up some installation instructions for YOURLS to be used in AutoQA. I'd appreciate comments and a look over to make sure that I didn't get anything wrong.
https://fedoraproject.org/wiki/Install_and_configure_YOURLS_for_AutoQA
I have made many adjustments in that page when I tried to configure and use yourls. Currently I am stuck at no documentation for /etc/autoqa/yourls.conf. I believe it should be included in that page. This is my configuration file now (aqd is my server):
Hrm, that would be one detail that I left out. I'll get that done shortly.
[yourls] baseurl=http://aqd/report apiurl=http://aqd/report/yourls-api.php username=username password=password urltitle=
Split the URL into two parts such that they make up one whole url. From your configuration, this could be
[yourls] baseurl=http://aqd/ apiurl=report/yourls-api.php
Tim
On Mon, 21 Nov 2011 06:58:13 -0700 Tim Flink tflink@redhat.com wrote:
I have made many adjustments in that page when I tried to configure and use yourls. Currently I am stuck at no documentation for /etc/autoqa/yourls.conf. I believe it should be included in that page. This is my configuration file now (aqd is my server):
Hrm, that would be one detail that I left out. I'll get that done shortly.
I've updated the installation docs to explain a possible baseurl+apiurl split.
BTW, I like the details that you added WRT the yourls configuration (DB and site settings). Thanks.
Tim
autoqa-devel@lists.fedorahosted.org