Commit graph

  • cf167f1c37 start trying out test cases for the new assertWarns manager Brian Stinson 2015-07-20 00:10:26 -05:00
  • 484791222d make the mixin look more like the python core unittest context managers Brian Stinson 2015-07-20 00:09:45 -05:00
  • 5becc45d19 add an assertWarns context manager for unit tests Brian Stinson 2015-07-19 23:28:02 -05:00
  • 639034222f add behavior to pick up the distro branches Brian Stinson 2015-07-19 22:17:01 -05:00
  • 867964318c add a test for the the plus branch (which acts like a project) Brian Stinson 2015-07-19 22:11:39 -05:00
  • a6e9d6454e add tests for CentOS6 and CentOS7 branches Brian Stinson 2015-07-19 22:08:11 -05:00
  • 6c0f8da91a add a test to be sure unmatched branches raise an exception Brian Stinson 2015-07-19 22:00:53 -05:00
  • 35f2c1b38a add a comment to the place in the initializer where we handle the 'common' bits Brian Stinson 2015-07-19 21:46:40 -05:00
  • 9af8c49a62 add the target property, and change the initializer to handle the cases where common is specified in the git branch Brian Stinson 2015-07-19 21:43:56 -05:00
  • 86b0d36840 put some properties before the initializer Brian Stinson 2015-07-19 21:42:41 -05:00
  • 47c4aa0677 make sure the right target gets set if common is specified at the project level Brian Stinson 2015-07-19 21:41:48 -05:00
  • f7e2afbdd8 make sure the right target gets set if common is specified at the release level Brian Stinson 2015-07-19 21:41:23 -05:00
  • 3a7531d874 add test cases for if -common is specified in the git branch name Brian Stinson 2015-07-19 21:40:40 -05:00
  • c8beba9dd8 add a test that the target gets set correctly for fully-specified branch Brian Stinson 2015-07-19 21:36:17 -05:00
  • b9126c70e0 refactored tests to classes for each type of input string Brian Stinson 2015-07-19 21:03:29 -05:00
  • 7ae64c7539 add the DistGitDirectory class Brian Stinson 2015-07-19 15:33:38 -05:00
  • ebeaf18d4e only import what we need in init Brian Stinson 2015-07-19 15:30:31 -05:00
  • c0555c1202 let's get started on a test suite Brian Stinson 2015-07-19 15:20:53 -05:00
  • 38f04b79b2 fix the anongiturl property so generating the SCM commit url works properly Brian Stinson 2015-02-05 16:33:42 +01:00
  • 3382aeba48 update to use the authenticated git url when doing a centpkg clone Brian Stinson 2014-12-14 21:15:29 +00:00
  • d3f316b66c fix config file path in centpkg.conf Brian Stinson 2014-12-14 20:40:32 +00:00
  • 9396ca2089 update readme for current workflow Brian Stinson 2014-12-14 20:22:09 +00:00
  • 02cccf671c bump to 0.4.1 Brian Stinson 2014-12-14 19:10:23 +00:00
  • d6d6d7fceb the disttag should just be el<major_version> Brian Stinson 2014-12-14 19:09:39 +00:00
  • 8f16b8ccdb use the cbs koji profile specified in /etc/koji.conf.d/cbs.conf Brian Stinson 2014-12-05 04:09:50 +00:00
  • f2820f3363 get ready to build version 0.2 Brian Stinson 2014-11-23 23:03:25 -06:00
  • 0fefd979d3 use ~/.koji/config-cbs as the koji config for now, and accept most branch names Brian Stinson 2014-11-23 22:56:27 -06:00
  • f12d463d98 set the disttag based on the sig branch Brian Stinson 2014-11-23 22:54:49 -06:00
  • 3d42683a55 set the correct lookaside hash type Brian Stinson 2014-11-23 22:54:26 -06:00
  • 046d91324c load a user from the client cert Brian Stinson 2014-11-23 22:53:07 -06:00
  • 3f76b3309c get the right koji buildtarget based on the sig branch Brian Stinson 2014-11-23 22:52:30 -06:00
  • 08ebc1b21d add a method to tell if we are operating on a sig branch Brian Stinson 2014-11-23 22:50:39 -06:00
  • b63384a593 load_kojisession works from rpkg Brian Stinson 2014-11-23 22:21:11 -06:00
  • baeee63d79 removed custom srpm implementation, the default rpkg behavior works Brian Stinson 2014-11-23 22:20:03 -06:00
  • 6fc4bbaa2b bring in centos_cert for loading the user information Brian Stinson 2014-10-10 01:15:02 +00:00
  • ae56d4c65e update NotImplementedErrors to specify which command(s) raise the error during a session Brian Stinson 2014-10-10 00:03:43 +00:00
  • d653abe2a5 Added rpmdefines putting the srpm and rpm in topdir Brian Stinson 2014-09-20 19:30:33 -05:00
  • 4e21f32dd4 Import centos_cert.py from fedora_cert section in fedora-packager Brian Stinson 2014-09-01 12:17:50 -05:00
  • 10bb17959c add in a starter specfile Brian Stinson 2014-07-06 15:28:09 -05:00
  • c12104f50d bump the version number to 0.1 for the first RPM Brian Stinson 2014-07-05 17:21:31 -05:00
  • 4e702f9ae2 update the readme to make the epel installation step more clear Johnny Hughes 2014-07-05 17:19:46 -05:00
  • 13c432caf0 Catch exceptions when running commands for a nicer experience when things go wrong Brian Stinson 2014-07-05 17:14:59 -05:00
  • b7b95ab85d local mockbuilds now work as defined by upstream rpkg Brian Stinson 2014-07-05 05:01:24 -05:00
  • 6ba768ab15 Redefine the "target" used for mock and koji builds. Brian Stinson 2014-07-05 05:00:14 -05:00
  • cd80781178 Customize the srpm method, this lets us accommodate the CentOS directory structure Brian Stinson 2014-07-05 04:59:13 -05:00
  • 5a3f501158 If outdir is not checked into git when sources() is called, create the appropriate directory (RESOLVES: 0007297) Brian Stinson 2014-07-05 04:57:54 -05:00
  • 9f3a0fae27 Provide link to rpkg upstream comments on patches for downloads Pat Riehecky 2014-07-05 04:54:52 -05:00
  • 2b88c3fe90 added more working commands and reorganized them into categories Brian Stinson 2014-06-27 09:22:02 -05:00
  • cb3b24e9e1 This is a combination of 13 commits that removed function redefinitions in centpkg because they work upstream in pyrpkg remove clone() definition since the one in pyrpkg works Brian Stinson 2014-06-26 23:04:12 -05:00
  • d16bf371a2 Looks good to me! I'm eager to hear back from upstream about your patches. Brian Stinson 2014-06-24 21:11:05 -05:00
  • 85a8501953 Mostly changes to keep this closer to the fedpkg codebase - not terribly many Some pylint fixes Put the commandline activity into __main__.py so it can be easily loaded by others if necessary Pat Riehecky 2014-06-24 14:22:32 -05:00
  • 7974593b12 split() on all whitespace removing the need for strip() Brian Stinson 2014-06-17 20:51:53 -05:00
  • 8f2a1accaa remove dead.package logic which is not valid for CentOS packages Brian Stinson 2014-06-17 20:51:02 -05:00
  • 2eaea9fba3 clean up rpmdefines, we only need to define _topdir rather than pointing at each individual directory Brian Stinson 2014-06-17 20:50:21 -05:00
  • cfdeed2808 Don't choke on multiple spaces in metadata files Brian Stinson 2014-06-15 20:27:46 -05:00
  • f3349a9df7 change default config to not contact git.centos.org via ssh (in case users forget to supply the --anonymous flag) Brian Stinson 2014-06-14 01:50:20 -05:00
  • 096ba10d1c fix readme so it shows up correctly in bitbucket Brian Stinson 2014-06-14 01:38:16 -05:00
  • 66d7c15032 README edited online with Bitbucket Brian Stinson 2014-06-14 06:36:32 +00:00
  • 7448c8d247 README edited online with Bitbucket Brian Stinson 2014-06-14 06:36:17 +00:00
  • 2830777cbc add a license and a README Brian Stinson 2014-06-14 01:25:23 -05:00
  • d0f4ad968d add in setup.py and default centpkg.conf Brian Stinson 2014-06-13 23:43:32 -05:00
  • 9bd7b3b47a implement sources to download from the CentOS lookaside cache Brian Stinson 2014-06-13 23:19:14 -05:00
  • 6f323dcd6f run the superclass version of clone, we don't need to do too much here yet Brian Stinson 2014-06-13 23:18:26 -05:00
  • ca61eb86f9 override some loaders to work with the CentOS file structure and release numbering Brian Stinson 2014-06-13 23:17:24 -05:00
  • aa8548cfa6 skeleton cli file, preparing for custom commands Brian Stinson 2014-06-13 21:56:43 -05:00
  • 5746a3bc38 ignore pyc files Brian Stinson 2014-06-13 21:56:17 -05:00
  • 2fb8a5ce03 skeleton init file defining commands, mark them all NotImplemented so we can enable them one-by-one Brian Stinson 2014-06-13 21:55:52 -05:00
  • 7816b3a15d add gitignore Brian Stinson 2014-06-13 21:55:14 -05:00
  • 8ac9e72694 initial import; build the skeleton of the script from the pyrpkg example Brian Stinson 2014-06-13 21:54:10 -05:00