[SCM] libatombus-perl Debian packaging branch, master, updated. debian/1.0404-4-13-gb33250b
Jonas Smedegaard
dr at jones.dk
Mon Apr 23 08:23:16 UTC 2012
The following commit has been merged in the master branch:
commit 421c9be79f3de837f1090d7999a7152944744bb8
Author: Jonas Smedegaard <dr at jones.dk>
Date: Mon Apr 23 03:49:57 2012 -0400
Drop patch 1001: Adopted upstream.
diff --git a/debian/patches/1001_improved_Atompub_api.patch b/debian/patches/1001_improved_Atompub_api.patch
deleted file mode 100644
index 2554924..0000000
--- a/debian/patches/1001_improved_Atompub_api.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-Description: Improve Atompub api
- Extend coverage of Atompub POST API:
- * Provide Location using start_at argument
- * Set status 201 Created (not default 200 Success)
- * Set content type application/atom+xml;type=entry
- .
- This avoids warnings from Atompub::Client.
-Author: Jonas Smedegaard <dr at jones.dk>
-Last-Update: 2011-06-07
---- a/lib/AtomBus.pm
-+++ b/lib/AtomBus.pm
-@@ -113,6 +113,9 @@
- });
- $db_feed->update({updated => $updated});
- _add_etag($db_entry->id);
-+ header Location => uri_for( '/feeds/' . $feed_title, { start_at => $db_entry->id } );
-+ content_type 'application/atom+xml;type=entry';
-+ status 'created';
- return _entry_from_db($db_entry)->as_xml;
- };
-
---- a/t/01-basic.t
-+++ b/t/01-basic.t
-@@ -30,7 +30,7 @@
- };
-
- my $res = dancer_response POST => "/feeds/$feed", { body => $xml1 };
--is $res->{status} => 200, 'Got 200 for posting entry1.';
-+is $res->{status} => 201, 'Got 201 for posting entry1.';
-
- is schema->resultset('AtomBusEntry')->count() => 1, '1 entries in db.';
- is schema->resultset('AtomBusFeed')->count() => 1, '1 feed in db.';
-@@ -40,7 +40,7 @@
- ok $entry1, 'Found entry 1.';
-
- $res = dancer_response POST => "/feeds/$feed", { body => $xml2 };
--is $res->{status} => 200, 'Got 200 for posting entry2.';
-+is $res->{status} => 201, 'Got 201 for posting entry2.';
-
- is schema->resultset('AtomBusEntry')->count() => 2, '2 entries in db.';
- is schema->resultset('AtomBusFeed')->count() => 1, '1 feed in db.';
diff --git a/debian/patches/README b/debian/patches/README
deleted file mode 100644
index 80c1584..0000000
--- a/debian/patches/README
+++ /dev/null
@@ -1,3 +0,0 @@
-0xxx: Grabbed from upstream development.
-1xxx: Possibly relevant for upstream adoption.
-2xxx: Only relevant for official Debian release.
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index ee9f29e..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-1001_improved_Atompub_api.patch
--
libatombus-perl Debian packaging
More information about the Pkg-perl-cvs-commits
mailing list