Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(548)

Side by Side Diff: appengine/swarming/swarming_bot/config/bot_config.py

Issue 2013943002: Changing license header, again! (Closed) Base URL: git@github.com:luci/luci-py.git@master
Patch Set: Fixed third parties Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # coding: utf-8 1 # coding: utf-8
2 # Copyright 2013 The LUCI Authors. All rights reserved. 2 # Copyright 2013 The LUCI Authors. All rights reserved.
3 # Use of this source code is governed by the Apache v2.0 license that can be 3 # Use of this source code is governed under the Apache License, Version 2.0
4 # found in the LICENSE file. 4 # that can be found in the LICENSE file.
5 5
6 """This file is meant to be overriden by the server's specific copy. 6 """This file is meant to be overriden by the server's specific copy.
7 7
8 You can upload a new version via /restricted/upload/bot_config. 8 You can upload a new version via /restricted/upload/bot_config.
9 9
10 There's 3 types of functions in this file: 10 There's 3 types of functions in this file:
11 - get_*() to return properties to describe this bot. 11 - get_*() to return properties to describe this bot.
12 - on_*() as hooks based on events happening on the bot. 12 - on_*() as hooks based on events happening on the bot.
13 - setup_*() to setup global state on the host. 13 - setup_*() to setup global state on the host.
14 14
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 def setup_bot(bot): 128 def setup_bot(bot):
129 """Does one time initialization for this bot. 129 """Does one time initialization for this bot.
130 130
131 Returns True if it's fine to start the bot right away. Otherwise, the calling 131 Returns True if it's fine to start the bot right away. Otherwise, the calling
132 script should exit. 132 script should exit.
133 133
134 Example: making this script starts automatically on user login via 134 Example: making this script starts automatically on user login via
135 os_utilities.set_auto_startup_win() or os_utilities.set_auto_startup_osx(). 135 os_utilities.set_auto_startup_win() or os_utilities.set_auto_startup_osx().
136 """ 136 """
137 return True 137 return True
OLDNEW
« no previous file with comments | « appengine/swarming/swarming_bot/config/bootstrap.py ('k') | appengine/swarming/swarming_bot/fake_swarming.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698