[Pkg-mozext-commits] [adblock-plus] 84/464: Added same parameters to update.rdf request for development builds as for regular AMO update checks, allows differentiating update requests on the server.

David Prévot taffit at moszumanska.debian.org
Tue Jul 22 20:44:05 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository adblock-plus.

commit 74d22f5c4642cedc0ec9f33359de7adbe631c10e
Author: Wladimir Palant <trev at adblockplus.org>
Date:   Mon May 10 13:54:23 2010 +0200

    Added same parameters to update.rdf request for development builds as for regular AMO update checks, allows differentiating update requests on the server.
---
 Packager.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Packager.pm b/Packager.pm
index 486868a..a4d919e 100644
--- a/Packager.pm
+++ b/Packager.pm
@@ -216,7 +216,7 @@ sub cp
 
       if ($self->{devbuild} && $fromFile =~ /\binstall\.rdf$/ && /^(\s*)<em:version>/)
       {
-        $_ .= "$1<em:updateURL>https://adblockplus.org/devbuilds/update.rdf</em:updateURL>\n";
+        $_ .= "$1<em:updateURL><![CDATA[https://adblockplus.org/devbuilds/update.rdf?reqVersion=%REQ_VERSION%&id=%ITEM_ID%&version=%ITEM_VERSION%&maxAppVersion=%ITEM_MAXAPPVERSION%&status=%ITEM_STATUS%&appID=%APP_ID%&appVersion=%APP_VERSION%&appOS=%APP_OS%&appABI=%APP_ABI%&locale=%APP_LOCALE%&currentAppVersion=%CURRENT_APP_VERSION%&updateType=%UPDATE_TYPE%]]></em:updateURL>\n";
       }
 
       $_ = $self->{postprocess_line}->($fromFile, $_) if exists $self->{postprocess_line};

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/adblock-plus.git



More information about the Pkg-mozext-commits mailing list