chiark / gitweb /
dgit: aptget archive access method
authorPeter Michael Green <plugwash@raspbian.org>
Wed, 18 Jan 2017 23:37:12 +0000 (23:37 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 19 Jan 2017 00:53:59 +0000 (00:53 +0000)
Add dummy implementation of file_in_archive_aptget copied from
file_in_archive_dummycat.  Re:#851697.

debian/changelog
dgit

index b1c7db172649819e7d476435bd100050616db5e9..8f8317324548daca67195764d625a7e2e5768fc6 100644 (file)
@@ -3,6 +3,8 @@ dgit (3.6~) unstable; urgency=medium
   Bugfixes:
   * Actually use the url from a Dgit .dsc field naming an unknown distro.
     Closes:#851728.
   Bugfixes:
   * Actually use the url from a Dgit .dsc field naming an unknown distro.
     Closes:#851728.
+  * Add dummy implementation of file_in_archive_aptget copied from
+    file_in_archive_dummycat.  Re:#851697.   [ Peter Green ]
 
   Minor improvements:
   * Use `confess' to print a stack trace in a couple of internal error
 
   Minor improvements:
   * Use `confess' to print a stack trace in a couple of internal error
diff --git a/dgit b/dgit
index b7888afb7673da6cab9f06a87e64cbb33adbc1ea..b508ae6723022adafe222dc4330c8882ab157cb5 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -1319,6 +1319,8 @@ sub archive_query_aptget {
     return [ (getfield $pre_dsc, 'Version'), $uri ];
 }
 
     return [ (getfield $pre_dsc, 'Version'), $uri ];
 }
 
+sub file_in_archive_aptget () { return undef; }
+
 #---------- `dummyapicat' archive query method ----------
 
 sub archive_query_dummycatapi { archive_query_ftpmasterapi @_; }
 #---------- `dummyapicat' archive query method ----------
 
 sub archive_query_dummycatapi { archive_query_ftpmasterapi @_; }