Commit Graph

18 Commits (b58bd264e87ee7b71cbb019fb67aa6c63d4d8b7b)

Author SHA1 Message Date
Patrik Lundin 1453d55c23 Improve debug log some more. 9 years ago
Patrik Lundin d55f22a2c6 Make fail messages all use lowercase messages. 9 years ago
Patrik Lundin 59364500bc Improve debug logging some more. 9 years ago
Patrik Lundin dd14d14224 No support for build=true with 'branch' syntax. 9 years ago
Patrik Lundin 2d353dc98c Improve debug logging for build code. 9 years ago
Patrik Lundin c118bcab5c Add a break and extra debug log for clarity. 9 years ago
Patrik Lundin 7dcac77df5 openbsd_pkg: no need to call .rstrip. 9 years ago
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.
9 years ago
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.
9 years ago
Daniel Jakots d24721f651 fix the spelling of vim's flavor in the example 9 years ago
Scott Bonds 2b69a2b14c add python 2.5 requirement and ansible 2.1 version_added 9 years ago
Scott Bonds 5b555b9347 add ports support in openbsd_pkg 9 years ago
Brian Coca 3564c48f3c switched to use module loggigng 9 years ago
Patrik Lundin c7d5546777 openbsd_pkg: Update author mail address. 10 years ago
Greg DeKoenigsberg 004dedba8a Changes to author formatting, remove emails 10 years ago
Brian Coca 08445418aa more string corrections 10 years ago
Greg DeKoenigsberg c03c80be88 Adding author's github id 10 years ago
Michael DeHaan 7e6fc7023d Reorganization. 10 years ago