Changes between Version 2 and Version 16 of Ticket #3545


Ignore:
Timestamp:
12/06/2016 05:29:11 PM (3 years ago)
Author:
kvas
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3545

    • Property Cc kvas added; kzar removed
  • Ticket #3545 – Description

    v2 v16  
    33 
    44=== What to change === 
    5 Instead of downloading the packaged version of the subscriptionlist repository from a hardcoded URL to extract its contents, we should directly retrieve the files from the repository that's specified in sitescripts.ini. 
     51. Take the URL of the repository from `settings.ini` of the website. The key should be called `subscriptions_repo`. The default value of the URL should be `https://hg.adblockplus.org/subscriptionlist` (the repo that is used now). 
     62. In case the subscriptions repo is remote, use the strategy that is used now (fetch `settings` file individually and get the rest as a `.tgz` archive). 
     73. In case the subscriptions repo is local, read the files from the currently checked out working copy. Any non-committed changes would also be included. 
     84. If the environment variable `CMS_SUBSCRIPTIONS_REPO` is set, it should override the value from `settings.ini` (or the default). This would allow pointing the script to a local subscriptions repository without changing any files in the website repository.