Commit graph

18 commits

Author SHA1 Message Date
Patrik Lundin
1453d55c23 Improve debug log some more. 2016-07-01 18:38:19 +02:00
Patrik Lundin
d55f22a2c6 Make fail messages all use lowercase messages. 2016-06-30 18:55:43 +02:00
Patrik Lundin
59364500bc Improve debug logging some more. 2016-06-30 18:51:35 +02:00
Patrik Lundin
dd14d14224 No support for build=true with 'branch' syntax. 2016-06-30 18:13:40 +02:00
Patrik Lundin
2d353dc98c Improve debug logging for build code. 2016-06-30 17:41:17 +02:00
Patrik Lundin
c118bcab5c Add a break and extra debug log for clarity. 2016-06-30 17:30:28 +02:00
Patrik Lundin
7dcac77df5 openbsd_pkg: no need to call .rstrip. 2016-06-30 00:40:28 +02:00
Patrik Lundin
f4b40926b4 openbsd_pkg: fix build=true corner case.
* Fix bug where we were actually checking for the availability of the
  requested package name and not 'sqlports' even if that was the goal.

* Add check that the sqlports database file exists before using it.

* Sprinkle some debug messages for an easier time following the code when
  developing.
2016-06-29 23:57:31 +02:00
Patrik Lundin
39d0088af8 openbsd_pkg: support "pkgname%branch" syntax.
* Such package names requires at least OpenBSD 6.0.

* Rework get_package_state() to use 'pkg_info -Iq inst:' instead of 'pkg_info -e'
  because it understands the branch syntax. It also means we can get rid of
  some additional special handling.

  This was suggested by Marc Espie:
  http://marc.info/?l=openbsd-tech&m=146659756711614&w=2

* Drop get_current_name() because the use of 'pkg_info -Iq inst:' in
  get_package_state() means we already have that information available without
  needing to do custom parsing. This was also necessary because a name such as
  "postfix%stable" does not in itself contain the version information necessary
  for the custom parsing. pkg_info -Iq translates such a name to the actual
  package name seamlessly.

* Add support for finding more than one package for the supplied package name
  which may happen if we only supply a stem.
2016-06-29 23:27:31 +02:00
Daniel Jakots
d24721f651 fix the spelling of vim's flavor in the example 2016-01-28 21:54:25 +01:00
Scott Bonds
2b69a2b14c add python 2.5 requirement and ansible 2.1 version_added 2016-01-18 12:20:14 -08:00
Scott Bonds
5b555b9347 add ports support in openbsd_pkg 2016-01-15 13:19:54 -08:00
Brian Coca
3564c48f3c switched to use module loggigng 2015-10-01 00:29:57 -04:00
Patrik Lundin
c7d5546777 openbsd_pkg: Update author mail address. 2015-06-29 09:27:44 +02:00
Greg DeKoenigsberg
004dedba8a Changes to author formatting, remove emails 2015-06-16 14:32:39 -04:00
Brian Coca
08445418aa more string corrections 2015-05-14 10:45:32 -04:00
Greg DeKoenigsberg
c03c80be88 Adding author's github id 2015-05-14 00:17:09 -04:00
Michael DeHaan
7e6fc7023d Reorganization. 2014-11-04 17:31:59 -05:00
Renamed from packaging/openbsd_pkg.py (Browse further)