old_contents: #
  # Copyright 2015 Genymobile
  #
  # Licensed under the Apache License, Version 2.0 (the "License");
  # you may not use this file except in compliance with the License.
  # You may obtain a copy of the License at
  #
  #     http://www.apache.org/licenses/LICENSE-2.0
  #
  # Unless required by applicable law or agreed to in writing, software
  # distributed under the License is distributed on an "AS IS" BASIS,
  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  # See the License for the specific language governing permissions and
  # limitations under the License.
  
  import os
  
  # gm_pr configuration
  
  ##
  # Github configuration
  ##
  
  # The settings in this file may be modified directly
  # in this file, or set with environment variables.
  # The environment variables are the same name as the
  # settings named, prefixed by GM_PR_.
  # Example, the environment variable GM_PR_GITHUB_OAUTHTOKEN
  # can be used instead of setting GITHUB_OAUTHTOKEN directly
  # in this file.
  
  
  # generate a token here: https://github.com/settings/tokens
  GITHUB_OAUTHTOKEN = os.environ.get('GM_PR_GITHUB_OAUTHTOKEN');
  # name of your github organisation
  ORG = os.environ.get('GM_PR_ORG', 'Genymobile');
  # do not change this :-)
  TOP_LEVEL_URL = "https://api.github.com"
  
  # Activities to include in the "Last Activity" column.
  # Possible values are:
  # "reviews"
  # "comments" (extra request)
  # "events" (extra request)
  # "commits" (extra request)
  #LAST_ACTIVITY_FILTER = ("comments", "events", "commits") #slower but provides more information
  #LAST_ACTIVITY_FILTER = ("comments") # faster but less information.
  #Ex: env GM_PR_LAST_ACTIVITY_FILTER="comments,events,commits"
  LAST_ACTIVITY_FILTER = tuple(os.environ.get("GM_PR_LAST_ACTIVITY_FILTER", "reviews,comments").split(","));
  
  ##
  # Slack configuration (ignore this section if you do not use slack)
  ##
  
  # link to the web version
  WEB_URL = "http://www.example.org/gm_pr/"
  # slack authentification token
  SLACK_TOKEN = "xxx"
  # incoming-webhook url
  SLACK_URL = "https://hooks.slack.com/services/xxxx"
  
  ##
  # Project configuration
  ##
  
  # Number of days a PRs without update can be flagged as OLD.
  OLD_PERIOD = int(os.environ.get("GM_PR_OLD_PERIOD",4))
  # only PRs with one of those labels can be considered as OLD.
  # Use None for "no label"
  OLD_LABELS = ("Needs Reviews", None)
  
new_contents: #
  # Copyright 2015 Genymobile
  #
  # Licensed under the Apache License, Version 2.0 (the "License");
  # you may not use this file except in compliance with the License.
  # You may obtain a copy of the License at
  #
  #     http://www.apache.org/licenses/LICENSE-2.0
  #
  # Unless required by applicable law or agreed to in writing, software
  # distributed under the License is distributed on an "AS IS" BASIS,
  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  # See the License for the specific language governing permissions and
  # limitations under the License.
  
  import os
  
  # gm_pr configuration
  
  ##
  # Github configuration
  ##
  
  # The settings in this file may be modified directly
  # in this file, or set with environment variables.
  # The environment variables are the same name as the
  # settings named, prefixed by GM_PR_.
  # Example, the environment variable GM_PR_GITHUB_OAUTHTOKEN
  # can be used instead of setting GITHUB_OAUTHTOKEN directly
  # in this file.
  
  
  # generate a token here: https://github.com/settings/tokens
  GITHUB_OAUTHTOKEN = os.environ.get('GM_PR_GITHUB_OAUTHTOKEN');
  # name of your github organisation
  ORG = os.environ.get('GM_PR_ORG', 'Genymobile');
  # do not change this :-)
  TOP_LEVEL_URL = "https://api.github.com"
  
  # Activities to include in the "Last Activity" column.
  # Possible values are:
  # "reviews"
  # "comments" (slower page loading due to extra request)
  # "events" (slower page loading due to extra request)
  # "commits" (slower page loading due to extra request)
  #LAST_ACTIVITY_FILTER = ("comments", "events", "commits") #slower but provides more information
  #LAST_ACTIVITY_FILTER = ("comments") # faster but less information.
  #Ex: env GM_PR_LAST_ACTIVITY_FILTER="comments,events,commits"
  LAST_ACTIVITY_FILTER = tuple(os.environ.get("GM_PR_LAST_ACTIVITY_FILTER", "reviews,comments").split(","));
  
  ##
  # Slack configuration (ignore this section if you do not use slack)
  ##
  
  # link to the web version
  WEB_URL = "http://www.example.org/gm_pr/"
  # slack authentification token
  SLACK_TOKEN = "xxx"
  # incoming-webhook url
  SLACK_URL = "https://hooks.slack.com/services/xxxx"
  
  ##
  # Project configuration
  ##
  
  # Number of days a PRs without update can be flagged as OLD.
  OLD_PERIOD = int(os.environ.get("GM_PR_OLD_PERIOD",4))
  # only PRs with one of those labels can be considered as OLD.
  # Use None for "no label"
  OLD_LABELS = ("Needs Reviews", None)
  
subject: improve wording in setting_projects doc