Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge upstream into master #4

Merged
merged 182 commits into from
Jan 29, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
182 commits
Select commit Hold shift + click to select a range
91ff98f
Add new docs to try to publish on readthedocs.org
jlantz Nov 2, 2016
435731b
added metadata parser support for communityTemplateDefinitions and co…
Nov 2, 2016
748983b
check if last_tag_info exists before using it
Nov 3, 2016
5c3a184
Create PULL_REQUEST_TEMPLATE.md
cpolcyn Nov 8, 2016
c54bd76
raise exception when task/flow not found
Nov 10, 2016
5063bc7
Initial wrapper for scratch orgs
jlantz Nov 10, 2016
94ca3de
Merge branch 'feature/2.0' of github.com:SalesforceFoundation/Cumulus…
jlantz Nov 10, 2016
db3c4e7
Fix bug where scratch org was not being created the first time
jlantz Nov 10, 2016
87dc9ec
Fix RunTestsAsynchronous to use POST instead of GET
jlantz Nov 11, 2016
24ce4e8
use tag commit date instead of tag date when finding PRs between tags
Nov 11, 2016
050cc38
- Added new BaseSalesforceDX wrapper task and the dx_push task as an
jlantz Nov 11, 2016
52194cd
fixed tests that were broken due to https://github.com/SalesforceFoun…
Nov 11, 2016
fd5cbad
- Add --force flag to scratch_delete to always force an attempt to
jlantz Nov 14, 2016
f8d40f2
- Remove --force flag from scratch_delete and switch to --delete-org
jlantz Nov 14, 2016
7bb74f3
Merge pull request #183 from SalesforceFoundation/feature/date-from-c…
jlantz Nov 14, 2016
073fb58
update dependencies on mrbelvedere installer
Nov 15, 2016
f1f77f3
Merge pull request #184 from SalesforceFoundation/feature/publish-to-…
jlantz Nov 15, 2016
a4a4294
- keychain.get_default_org() now returns a org name and org config
jlantz Nov 15, 2016
e460dc1
alpha17
jlantz Nov 15, 2016
3851015
always send main package info in payload
Nov 16, 2016
6016a5b
added task to upload apex test results to apextestsdb
Nov 16, 2016
d2cb997
Merge pull request #187 from SalesforceFoundation/feature/apextestsdb…
cpolcyn Nov 16, 2016
01cc300
Fix bug with tasks that don't use an org where task_run was attempting
jlantz Nov 17, 2016
18082b9
Add community template types
jlantz Nov 17, 2016
6eceacf
Merge branch 'feature/2.0' of github.com:SalesforceFoundation/Cumulus…
jlantz Nov 17, 2016
8347593
alpha18
jlantz Nov 17, 2016
42dcc78
added missing task options
Nov 17, 2016
92ea23d
fixed use of in_remote_origin
Nov 17, 2016
56d930b
Merge pull request #188 from SalesforceFoundation/issue-186
cpolcyn Nov 17, 2016
be6843b
Fixed callback URL in tutorial
cpolcyn Nov 22, 2016
566a429
added exception for HTTP Unauthorized
Nov 23, 2016
fe9811b
copy files not packaged by egg into cumulusci/
Nov 28, 2016
3b1ec19
Bump version: 2.0.0-alpha18 → 2.0.0-alpha19
Nov 29, 2016
52b7fe9
Don't swallow full tracebacks for unknown exceptions in task_run and
jlantz Nov 29, 2016
b7f96ef
Centralize logger config in core.logger and use the same logger for all
jlantz Nov 29, 2016
7de7a0a
Merge pull request #192 from SalesforceFoundation/issue-191
jlantz Nov 29, 2016
623f5d4
Update HISTORY for alpha19
jlantz Nov 29, 2016
d07541b
remove pdb (oops)
jlantz Nov 29, 2016
17127e0
alpha20
jlantz Nov 29, 2016
068eead
decode pull request notes as unicode
Nov 29, 2016
1d89732
try to decode unicode, return str on TypeError; new unicode test
Nov 29, 2016
077b601
Merge pull request #193 from SalesforceFoundation/issue-189
jlantz Nov 29, 2016
9eea654
encode unicode before printing to stdout
Nov 29, 2016
f94c3be
merge master into feature/2.0
Nov 29, 2016
e73ea49
look for orgs, services, and connected app at global level, then proj…
Nov 30, 2016
7b9507a
use context manager for file access
Dec 1, 2016
0d1940a
alpha21
jlantz Dec 1, 2016
ebaadff
retry deploy for certain failures
Dec 1, 2016
dfb0b6e
- Fix call to logger in github task
jlantz Dec 2, 2016
499e26b
alpha22
jlantz Dec 2, 2016
19f7b02
use temp files for test results
Dec 2, 2016
00fe022
all custom exceptions inherit from CumulusCIException
Dec 7, 2016
42353f5
more exceptions
Dec 7, 2016
96bc9fa
- Fix update_admin_profile which also involved fixing the findReplace
jlantz Dec 8, 2016
ee35c6c
Merge branch 'feature/2.0' of github.com:SalesforceFoundation/Cumulus…
jlantz Dec 8, 2016
662fe59
fixed missing exception
Dec 8, 2016
f0b5ec4
Fix for error in DeployNamespacedBundles with namespace prefixing of
jlantz Dec 8, 2016
b369e16
Merge branch 'feature/2.0' of github.com:SalesforceFoundation/Cumulus…
jlantz Dec 8, 2016
8966e6c
- Ignore failure of --delete-org on flow_run to prevent false build
jlantz Dec 9, 2016
ced8b12
Added --debug flag to task_run and flow_run to automatically drop into
jlantz Dec 9, 2016
501607e
Added cookbook doc
jlantz Dec 9, 2016
1382bd4
Remove failed attempt at python highlighted formatting
jlantz Dec 9, 2016
128215b
alpha23
jlantz Dec 9, 2016
85a657e
flow_run should accept debug argument
jlantz Dec 9, 2016
01b7362
alpha24
jlantz Dec 9, 2016
762c41f
Added CircleCI set up instructions to cookbook
jlantz Dec 9, 2016
661eef4
get scratch org username from SFDX org creation logs
Dec 9, 2016
589d16a
provide username when getting org through SFDX
Dec 9, 2016
70152da
use temp dir to store log files if log files dir not specified
Dec 9, 2016
47a0fff
added missing arg for debug_log_dir
Dec 9, 2016
3df8e25
create user-specified debug logs dir
Dec 9, 2016
67a55f4
update API version for RunApexTestsDebug to 38.0
Dec 9, 2016
7f460f7
fixed typo in comparison
Dec 9, 2016
708bca8
Merge pull request #195 from SalesforceFoundation/feature/test-result…
jlantz Dec 9, 2016
d430302
- Fixed run_tests and run_tests_debug tasks to fail throwing an
jlantz Dec 9, 2016
21d9643
Merge branch 'feature/2.0' of github.com:SalesforceFoundation/Cumulus…
jlantz Dec 9, 2016
9d2b0df
Merge pull request #199 from SalesforceFoundation/feature/sfdx-multi-org
jlantz Dec 9, 2016
001e024
parse org ID from sfdx org creation logs
Dec 9, 2016
4977e24
Merge branch 'feature/2.0' into issue-198
Dec 9, 2016
84afe1a
use new DebugLevel functionality
Dec 9, 2016
46705e2
- Change retry logic on beta installs to live in the task
jlantz Dec 10, 2016
cd1521e
Merge branch 'feature/2.0' into feature/retry-deploy
jlantz Dec 10, 2016
d5c0e16
- Fix retry logic
jlantz Dec 10, 2016
9f898e9
Merge pull request #200 from SalesforceFoundation/issue-198
jlantz Dec 10, 2016
e82b2a3
alpha25
jlantz Dec 10, 2016
d41d367
Merge pull request #194 from SalesforceFoundation/feature/retry-deploy
jlantz Dec 10, 2016
57d2cbb
alpha26
jlantz Dec 10, 2016
745a7e5
undo that change, the metadata changes in v38 made this...weird. inve…
cdcarter Dec 11, 2016
01395d6
- Added new cli command `task doc` which spits out RST format
jlantz Dec 12, 2016
6ac5c05
Remove Task: prefix on task name in docs
jlantz Dec 12, 2016
dd948fc
Re-render tasks doc
jlantz Dec 12, 2016
e7ff4af
Fix exception handling to raise the actual exception rather than through
jlantz Dec 12, 2016
51cd484
add findRename
cdcarter Dec 12, 2016
6c15a55
alpha27
jlantz Dec 12, 2016
9a6c8c5
Change how exceptions are re-raised to avoid masking the real exception
jlantz Dec 12, 2016
ccf0cc1
alpha28
jlantz Dec 12, 2016
94192bf
alpha29 - include docutils
jlantz Dec 12, 2016
b902a65
fix issue where unicode decoding sometimes fails
Dec 12, 2016
1ce4c19
add missing import
Dec 12, 2016
cdb8a36
fix uninstall_post task
cdcarter Dec 12, 2016
7dab87d
Merge pull request #203 from cdcarter/patch-3
jlantz Dec 12, 2016
0623d7a
Merge pull request #205 from cdcarter/patch-4
jlantz Dec 12, 2016
38cd50b
alpha30
jlantz Dec 13, 2016
04a0a23
Change flow structure in YAML to allow for more customization
jlantz Dec 13, 2016
98634b3
Merge branch 'feature/2.0' of github.com:SalesforceFoundation/Cumulus…
jlantz Dec 13, 2016
10ceb7e
Fix indentation error in README
jlantz Dec 13, 2016
3761f35
Remove readme.rst from docs
jlantz Dec 13, 2016
36243a7
alpha31
jlantz Dec 13, 2016
d442a3c
configure logging at CLI level; modules get generic loggers
Dec 13, 2016
7d6efaa
Merge branch 'feature/2.0' of github.com:SalesforceFoundation/Cumulus…
jlantz Dec 13, 2016
cc90713
Merge branch 'feature/2.0' of https://github.com/SalesforceFoundation…
cdcarter Dec 15, 2016
c07db56
init CLI logger in class method; prevent accumulation of handlers
Dec 15, 2016
e2ad911
Fix comment string
jlantz Dec 19, 2016
2f427eb
Add retry_interval and retry_interval_add to introduce a delay between
jlantz Dec 19, 2016
611e45f
Merge branch 'feature/2.0' of github.com:SalesforceFoundation/Cumulus…
jlantz Dec 19, 2016
635c95d
alpha32
jlantz Dec 19, 2016
5904922
Remove duplicate log line
jlantz Dec 19, 2016
912a0ff
fix printing stdout on error
Dec 20, 2016
dada357
fix overwrite of variable used in task lookup
Dec 20, 2016
49044bb
raise exception when release not found (instead of creating new release)
Dec 20, 2016
4541a92
Merge branch 'feature/2.0' of github.com:SalesforceFoundation/Cumulus…
jlantz Dec 20, 2016
663cda6
fixed tests broken by last commit
Dec 20, 2016
62d6017
Merge branch 'feature/2.0' of github.com:SalesforceFoundation/Cumulus…
jlantz Dec 20, 2016
1528e13
alpha33
jlantz Dec 20, 2016
2200ef4
Remove `target_commitish` from create_release call
jlantz Dec 20, 2016
aef068f
alpha34
jlantz Dec 20, 2016
5b60c59
- Remove `draft` option from `github_release`
jlantz Dec 20, 2016
15abfe5
alpha35
jlantz Dec 20, 2016
9892fd8
- Changed `github_release` task to work with an existing tag/ref if
jlantz Dec 20, 2016
6e3aabe
alpha36
jlantz Dec 20, 2016
d5c2f9f
- `github_release_notes` now correctly handles split second differences
jlantz Dec 21, 2016
854dca7
alpha37
jlantz Dec 21, 2016
184378f
added time zone for start_time in push tasks
Dec 21, 2016
e3ef4d1
fix args to _get_version
Dec 21, 2016
693e480
print stderr as well as stdout on scratch_info failure
Dec 27, 2016
7ab328d
fix crash when dependency_list is None
Dec 27, 2016
57bac71
Delete any existing TraceFlags for the running user in run_apex_tests
jlantz Dec 28, 2016
c541852
ScratchOrgConfig now caches the scratch_info for 1 hour to avoid
jlantz Dec 28, 2016
5a758be
alpha38
jlantz Dec 28, 2016
7cea5a5
added task to run arbitrary shell commands
Jan 3, 2017
e5fb25a
optionally pass env to command task
Jan 3, 2017
9509063
update metadata
cdcarter Jan 5, 2017
101513e
Merge pull request #212 from cdcarter/feature/2.0
jlantz Jan 5, 2017
5401e72
New task classes, LoadData and DeleteData, to load data from a sqlite
jlantz Jan 6, 2017
fd3c464
alpha39
jlantz Jan 6, 2017
b37d3e0
UninstallPackagedIncremental shouldn't deploy a delete if no metadata
jlantz Jan 6, 2017
a833750
alpha40
jlantz Jan 6, 2017
9354f45
uninstall_packaged_incremental shouldn't fail if there is nothing to
jlantz Jan 7, 2017
fd9123f
alpha41
jlantz Jan 7, 2017
d9af902
Progressively increase check interval for Metadata API calls to handle
jlantz Jan 10, 2017
6999757
alpha42
jlantz Jan 10, 2017
fe393f2
Peg api_verison for push api tasks to 38.0
jlantz Jan 11, 2017
e01e674
Add CumulusCI 2 notice
jlantz Jan 12, 2017
f050c8b
Merge branch 'master' into feature/2.0
jlantz Jan 12, 2017
0fa8022
Merge branch 'feature/2.0' of github.com:SalesforceFoundation/Cumulus…
jlantz Jan 12, 2017
aef86f6
beta1
jlantz Jan 12, 2017
856ca7c
beta1 - minor update :)
jlantz Jan 12, 2017
a699c94
beta2
jlantz Jan 13, 2017
74970da
Remove deploy_post_managed from the ci_master flow to prevent the
jlantz Jan 13, 2017
ceec38c
beta3
jlantz Jan 13, 2017
40dcc84
Add update_admin_profile to all relevant flows. Note that this
jlantz Jan 13, 2017
633c533
beta4
jlantz Jan 13, 2017
67c4636
- Changes necessary to resolve a few bugs with the `unmanaged_ee` flow
jlantz Jan 13, 2017
ca1d801
Fix encoding for writing xml files
jlantz Jan 13, 2017
f762379
- beta 5
jlantz Jan 16, 2017
224fe6a
- Print full details of compoent failures in a deploy to the logger
jlantz Jan 17, 2017
b2d64b0
beta6
jlantz Jan 17, 2017
f45f8ba
Don't just skip dataSetup method which is arbitrary per test class, skip
jlantz Jan 17, 2017
57b3d49
beta7
jlantz Jan 17, 2017
2b0c94c
Added `ci_install_beta` flow that uninstalls the previous managed
jlantz Jan 19, 2017
fa578be
Add new CLI commands `cci project connect_saucelabs` and `cci project
jlantz Jan 19, 2017
0cc5b69
Delete temp dirs
jlantz Jan 19, 2017
ba172ec
- Added new task classes util.DownloadZip, command.SalesforceCommand,
jlantz Jan 19, 2017
0d51cc6
beta8
jlantz Jan 19, 2017
4e92436
- Command task no longer strips left whitespace from output lines to
jlantz Jan 20, 2017
5ccb160
beta9
jlantz Jan 20, 2017
6724652
Completely remove CumulusCI 1 (Ant based) from repo:
jlantz Jan 20, 2017
d9680dc
beta10
jlantz Jan 20, 2017
3c24baf
Merge pull request #214 from SalesforceFoundation/feature/2.0
jlantz Jan 20, 2017
1cfa238
Add correct keys for git section customizations.
jlantz Jan 20, 2017
40bca89
Remove the template directory from CumulusCI which has been replaced by
jlantz Jan 20, 2017
639f6e3
Remove references to build and ci directories in manifest
jlantz Jan 20, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
313 changes: 297 additions & 16 deletions HISTORY.rst

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ include HISTORY.rst
include LICENSE
include README.rst

recursive-include build *.xml *.jar *.xsl *.txt *.properties *.sh
recursive-include ci *.xml *.jar *.xsl *.txt *.properties *.sh *.py

recursive-include tests *
recursive-exclude * __pycache__
recursive-exclude * *.py[co]
Expand Down
5 changes: 5 additions & 0 deletions PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Critical Changes

# Changes

# Issues Closed
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# CumulusCI 1.0 (Ant based) Users, **PLEASE READ**

The master branch now contains CumulusCI 2 which is not backwards compatible with the previous CumulusCI that was based on Ant. If you are using the Ant targets, please switch to using the `legacy-1.0` branch of the repository which contains the Ant based version. Or, consider upgrading to CumulusCI 2.

# CumulusCI

CumulusCI is a command line tool belt and set of reusable Python classes useful in the development and release process of building a Salesforce Managed Package application.
Expand Down
26 changes: 13 additions & 13 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,37 +35,37 @@ Installation
Quick Start
-----------

This section provide a brief example of the commands you'd use to start a new project once you have CumulusCI installed
This section provide a brief example of the commands you'd use to start a new project once you have CumulusCI installed::

$ cd <Your_Local_Repo>
$ cumulusci2 project init
$ cci project init
project_name: MyProject
$ cat cumulusci.yml
project:
name: MyProject
$ cumulusci2 org config_connected_app
$ cci org config_connected_app
client_id: 12345890
client_secret:
$ cumulusci2 org connect dev
$ cci org connect dev
*** Opens a browser at the Salesforce login prompt to complete OAuth grant
$ cumulusci2 org list
$ cci org list
dev
$ cumulusci2 org info dev
$ cci org info dev
*** Displays the OAuth configuration info for the org named "dev"
$ cumulusci2 org browser dev
$ cci org browser dev
*** Opens a browser tab to the org using OAuth to bypass login
$ cumulusci2 org connect --sandbox test
$ cci org connect --sandbox test
*** Opens a browser at the Salesforce login prompt to complete OAuth grant
$ cumulusci2 org list
$ cci org list
dev
test
$ cumulusci2 task list
$ cci task list
*** List all available tasks
deploy: Deploys the src directory to the target Salesforce org
$ cumulusci2 task run --org dev deploy
$ cci task run --org dev deploy
*** Runs the "deploy" task against the "dev" org
$ cumulusci2 flow list
$ cci flow list
*** List all available flows
deploy_dev_org: Runs a complete deployment against a dev org including dependencies but not running tests
$ cumulusci2 flow run --org test deploy_dev_org
$ cci flow run --org test deploy_dev_org
*** Runs the "dev_org" flow against the "test" org
Loading