Commit graph

1249 commits

Author SHA1 Message Date
Mike Bonnet
58a57ea71b add maven and win to the supported cli search types 2012-06-29 11:26:57 -04:00
Mike McLean
d2716a482a remove useless and misleading latest-by-tag command 2012-06-19 17:19:42 -04:00
Mike McLean
626842792d environ['SERVER_PORT'] is a string value 2012-06-14 15:33:08 -04:00
Mike McLean
46aeef9e93 fix noreplace setting for web.conf 2012-06-14 14:50:37 -04:00
Mike McLean
f840983321 have regen-repo warn if the tag is not a build tag or has no arch list 2012-06-08 18:16:31 -04:00
Mike McLean
19de74773d in taginfo command, avoid passing (recently added) event opts unless needed
(otherwise we get an error from older servers on plain taginfo commands)
2012-06-06 18:47:53 -04:00
Mike McLean
86abf03fcb don't use .get() with kojiweb options. It is no longer needed. 2012-05-31 21:49:09 -04:00
Mike McLean
7a4f12f927 use a shorter Source link in spec 2012-05-31 19:00:28 -04:00
Mike McLean
99cb35795c changelog for 1.7 2012-05-31 15:05:43 -04:00
Mike McLean
1df4a676a7 more 1.7 migration notes 2012-05-31 15:00:18 -04:00
Mike Bonnet
a04d199812 exclude SCM metadata dirs from the sources and patches zip files 2012-05-25 18:03:00 -04:00
Mike McLean
c06f97c181 allow setting tag permission to none in webui (ticket#219) 2012-05-22 18:17:56 -04:00
Mike McLean
5f96a7a2cf also add --yum-proxy option to cli mock-config command 2012-05-22 15:06:32 -04:00
Ken Dreyer
97bd601080 add "yum_proxy" option to builder
Previously if you wanted to use an HTTP proxy server with a builder, you
had to either specify the proxy in the pkgurl, or use iptables to
intercept HTTP and route it through a transparent proxy.

There is a better way: yum has proxy support built in. When a URL is
specified in the "proxy" option in yum.conf, yum will use this URL as a
proxy server.

Add a "yum_proxy" option in kojid.conf. Kojid will pass it back to mock
during genMockConfig(). Mock will write it into yum.conf in the chroot.
2012-05-22 14:52:13 -04:00
Mike McLean
2976de313f drop self args from argspec 2012-05-22 14:36:19 -04:00
Mike McLean
6296043fe4 faster argcheck 2012-05-22 14:36:19 -04:00
Mike McLean
51ec9b8b50 call_with_argcheck utility function 2012-05-22 14:36:13 -04:00
Mike McLean
2c372cd5f0 use inspect module to report/check rpc args 2012-05-22 14:18:21 -04:00
John Morris
38f7d2529f koji: small patch to fix warnings
After the koji.conf 'pkgurl' attribute was enabled (sigul wants this;
I'll submit a patch for that too, later), one of my scripts broke
because the "Warning: the pkgurl option is obsolete" message is printed
to stdout instead of stderr.  Here's a little patch to print the warning
with the warn() function instead.

I realize some warnings from the cli might be best printed to stdout,
but for ones that might appear when using a computer-readable type of
command like 'list-* --quiet', stderr seems like the better choice.

Thanks-

	John
2012-05-16 15:45:09 -04:00
Mike McLean
c902546866 avoid hard-coded references to command name 2012-05-16 15:45:08 -04:00
Dennis Gilmore
310d7a0246 when writing out the mock configs set the target arch instead of canonical arch used for %_host_cpu and %_host macros and _target_arch variable in the written out configs 2012-05-16 15:45:08 -04:00
Mike McLean
dd48297c04 use encode_int whenever uploadFile rpc call is used directly 2012-05-16 15:33:02 -04:00
Mike McLean
3809b8c168 require mod_wsgi; don't require mod_python 2012-05-16 15:31:05 -04:00
Mike McLean
b0d2507c05 Rename recent schema upgrade file.
(There were no schema changes between 1.5 and 1.6)
2012-05-16 15:31:05 -04:00
Mike McLean
cd807c70e3 avoid traceback if host has no channels 2012-05-16 15:31:05 -04:00
Mike McLean
3ddbd697a3 migration doc for version 1.7 2012-05-16 15:30:53 -04:00
Mike Bonnet
6563265e62 document.height is no longer supported in modern browsers 2012-05-11 21:29:51 -04:00
Mike Bonnet
6236ae6d62 support SSL auth in mod_python compatibility mode 2012-05-11 21:29:06 -04:00
Mike Bonnet
4c999fedb6 typo 2012-05-11 19:18:40 -04:00
Mike Bonnet
c6e3d2e8fe verify that the pom filename matches the GAV 2012-05-11 16:27:57 -04:00
Mike McLean
6123acaac1 Maintain old PythonDebug behavior under mod_python 2012-05-11 16:02:32 -04:00
Mike McLean
756204da28 avoid req.is_https() 2012-05-11 15:45:57 -04:00
Mike McLean
6fabbd378e adjust web.conf logic 2012-05-11 12:49:08 -04:00
Mike McLean
8dd500f3d1 fix error when tag policy not defined 2012-05-11 11:50:03 -04:00
Mike McLean
5154d4a568 grant-permission --new 2012-05-11 11:34:42 -04:00
Mike McLean
54c0ed8438 Support wsgi in koji-hub and koji-web
- mod_python still supported, but deprecated
 - mod_wsgi is the default
 - koji-web now configured via web.conf
 - new wsgi-friendly publisher for koji-web
 - koji-web now has logging
2012-05-10 17:27:40 -04:00
Mike Bonnet
0a57b22886 don't show repo information during historical taginfo queries, it may be inaccurate 2012-05-10 17:21:52 -04:00
Mike Bonnet
5141b61f49 add support for querying past information with the taginfo command 2012-05-10 16:28:06 -04:00
Mike Bonnet
e0f30b36df add Maven information to taginfo 2012-05-10 16:23:27 -04:00
Mike McLean
794a965e14 avoid possible rapid error loops 2012-04-05 16:30:06 -04:00
Mike McLean
48a8183b75 catch errors from checkHost() call 2012-04-05 16:30:06 -04:00
Mike McLean
e295468f04 more sanity checks for volume moves 2012-04-02 17:28:11 -04:00
Mike McLean
5835b707f5 initial stab at cross-volume symlinks for builds 2012-04-02 17:24:35 -04:00
Mike McLean
cf83a7b97b backport relpath 2012-04-02 17:24:35 -04:00
Mike McLean
2c950dd983 make policy errors more helpful 2012-03-30 16:06:05 -04:00
Mike McLean
ef9923a679 allow setting rlimits in kojid 2012-03-28 16:47:19 -04:00
Mike McLean
dc2d6c9810 have listHosts return the same fields as getHost 2012-03-21 15:28:54 -04:00
Ken Dreyer
4d42e1062e make SCM URL validity check more verbose
When a builder parses an SCM URL, the daemon module's _parse_url() does
a sanity check that it has properly understood all the necessary
elements of the URL string before returning them. When this check fails,
a "Invalid URL" message is raised, but this error message does not
provide information about what portion of the URL was missing.

Break this sanity check into multiple statements, so that we present a
more detailed error message to the user.
2012-03-09 16:54:25 -05:00
Ken Dreyer
82ea18aa54 better examples for Kerberos auth options
Update the sample values in hub.conf to more closely match the Fedora
wiki page (https://fedoraproject.org/wiki/Koji/ServerHowTo).
2012-03-09 16:52:38 -05:00
Mike McLean
5dac6536a4 fix for _quoteparams issue 2012-03-09 16:36:53 -05:00