diff options
author | mef <mef> | 2015-02-21 12:27:59 +0000 |
---|---|---|
committer | mef <mef> | 2015-02-21 12:27:59 +0000 |
commit | 0d18d41d7a441a54c84a7c8b59392f6314983b7a (patch) | |
tree | 952ea0ac113f3722398f0cbee52a29366484a4a9 /net | |
parent | 486dbd7de1c17462485430731f3c8ade23659417 (diff) | |
download | pkgsrc-0d18d41d7a441a54c84a7c8b59392f6314983b7a.tar.gz |
(pkgsrc)
- Add ${PERL5_LICENSE}
(upstream)
- Update 0.05 to 0.07
---------------------
0.07
General:
- Added unit tests
- Changed to proper source structure
Net/Gnats.pm
- Massive amount of refactoring around PBP.
- Removed unecessary 'dead' code
- Changed documentation according to PBP changes
- Began removing old 'data caching' mechanism, metadata needs to be
captured on a per db basis
- fixed/regressed bugs 4, 5, 7, 8, 9, 11 and created unit tests.
Net/Gnats/PR.pm
- reconstructed parse routine
- some PBP refactoring
Net/Gnats/Response.pm
- new module to hold all socket response (raw, code) and eventually
will replace old procedural method of capturing sets of responses.
0.06
Gnats.pm
- Added 'Net::Gnats::updatePR' method so multiple fields can be changed
with one call instead of having to call replaceField multiple times.
- Added 'Net::Gnats::newPR' method.
- Added 'Net::Gnats::filloutPR' method which fills out a new PR with the
field defaults specified in the gnats dbconfig.
- Fixed checking for when gnatsd will return a multiline response.
Previosuly all codes from 300-399 (except 350) where assumed to be
multiline. But the gnatsd spec says only 300-349 will be multiline.
- When PR's are unparsed into a string the MultiText fields are properly
escaped.
- Added ability to turn on debugging with '$Net::Gnats:debugGnatsd = 1'
- Work around a bug in gnatsd where it doesn't properly close file handles,
so gnatsperl closes and reopens the connection after 100 newPRs. I've
submitted a patch to gnats but it's not been incorporated yet.
- Disabled the listClasses method since gnatsd does not support it
anymore.
- Methods listFieldNames, listInitialInputFields, getFieldType,
isValidField, getFieldTypeInfo, getFieldFlags, getFieldDefault, only
query gnatsd once for the information so multiple calls to these methods
are much faster.
- Net::Gnats:lockPR extracts the PR data and returns a Net::Gnats::PR
object.
- Added Net::Gnats::checkPR method. Changed checkNewPR method to call
checkPR.
- Improved checking for "requireChangeReason" checking in replaceField
method.
- submitPR method calls PR::unparse method.
- Split out some code in _doGnatsCmd into new '_readAndPrcessResponse'
method so other methods could use the same code.
PR.pm
- Net::Gnats::PR::new method now requires the Net::Gnats object as the
first argument. This was done to provide better error checking. The
best was to fix existing code is to change any Net::Gnats::PR::new calls
to $g->new(). See documentation.
- The PR number is no longer tracked differently inside PR.pm. It's now
treated like all other fields. Users will not notice this change since
the getNumber method still works like previous versions. However if you
were accessing the $pr->{number} data directly it won't work anymore.
- The setField method takes an optional argument which is the changeReason.
- Currently setField does not require the changeReason to be specified,
but this may change in the next release.
- Major change to methods that parse and unparse PR's. A lot of code was
copied from gnatsweb so gnatsperl now does a much better job of handling
PR data. Also, in the future this will allow us to handle gnatsweb style
attachements.
Diffstat (limited to 'net')
-rw-r--r-- | net/p5-Net-Gnats/Makefile | 6 | ||||
-rw-r--r-- | net/p5-Net-Gnats/distinfo | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/net/p5-Net-Gnats/Makefile b/net/p5-Net-Gnats/Makefile index 5b4b7fc349f..04bd700e219 100644 --- a/net/p5-Net-Gnats/Makefile +++ b/net/p5-Net-Gnats/Makefile @@ -1,9 +1,8 @@ -# $NetBSD: Makefile,v 1.16 2014/05/29 23:37:07 wiz Exp $ +# $NetBSD: Makefile,v 1.17 2015/02/21 12:27:59 mef Exp $ # -DISTNAME= Net-Gnats-0.05 +DISTNAME= Net-Gnats-0.07 PKGNAME= p5-${DISTNAME} -PKGREVISION= 5 CATEGORIES= net perl5 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gnatsperl/} @@ -11,6 +10,7 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://gnatsperl.sourceforge.net/ #HOMEPAGE= http://search.cpan.org/dist/Net-Gnats/ COMMENT= Perl interface to the gnatsd daemon +LICENSE= ${PERL5_LICENSE} PERL5_PACKLIST= auto/Net/Gnats/.packlist diff --git a/net/p5-Net-Gnats/distinfo b/net/p5-Net-Gnats/distinfo index bade86fc44c..9df413f2631 100644 --- a/net/p5-Net-Gnats/distinfo +++ b/net/p5-Net-Gnats/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.3 2008/11/18 06:34:45 he Exp $ +$NetBSD: distinfo,v 1.4 2015/02/21 12:27:59 mef Exp $ -SHA1 (Net-Gnats-0.05.tar.gz) = b701816f246479b3e1149093dc51d0dac4d658ca -RMD160 (Net-Gnats-0.05.tar.gz) = 9fde18f64d51f2868c63a8c40bc710edbfa35591 -Size (Net-Gnats-0.05.tar.gz) = 9666 bytes +SHA1 (Net-Gnats-0.07.tar.gz) = 90b329028f320a3aa45033e29c73e7da05e0670d +RMD160 (Net-Gnats-0.07.tar.gz) = 01aaf861ccc721376cdce36333e7be1538a5fb72 +Size (Net-Gnats-0.07.tar.gz) = 20710 bytes |