Skip to content

Commit f6ad10a

Browse files
committed
master => main
1 parent 90a110f commit f6ad10a

4 files changed

Lines changed: 39 additions & 37 deletions

File tree

.github/workflows/codeql-analysis.yml

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
99
# the `language` matrix defined below to confirm you have the correct set of
1010
# supported CodeQL languages.
1111
#
12-
name: "CodeQL"
12+
name: 'CodeQL'
1313

1414
on:
1515
push:
16-
branches: [ master ]
16+
branches: [main]
1717
pull_request:
1818
# The branches below must be a subset of the branches above
19-
branches: [ master ]
19+
branches: [main]
2020
schedule:
2121
- cron: '36 18 * * 2'
2222

@@ -28,40 +28,40 @@ jobs:
2828
strategy:
2929
fail-fast: false
3030
matrix:
31-
language: [ 'python' ]
31+
language: ['python']
3232
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
3333
# Learn more:
3434
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
3535

3636
steps:
37-
- name: Checkout repository
38-
uses: actions/checkout@v2
37+
- name: Checkout repository
38+
uses: actions/checkout@v2
3939

40-
# Initializes the CodeQL tools for scanning.
41-
- name: Initialize CodeQL
42-
uses: github/codeql-action/init@v1
43-
with:
44-
languages: ${{ matrix.language }}
45-
# If you wish to specify custom queries, you can do so here or in a config file.
46-
# By default, queries listed here will override any specified in a config file.
47-
# Prefix the list here with "+" to use these queries and those in the config file.
48-
# queries: ./path/to/local/query, your-org/your-repo/queries@main
40+
# Initializes the CodeQL tools for scanning.
41+
- name: Initialize CodeQL
42+
uses: github/codeql-action/init@v1
43+
with:
44+
languages: ${{ matrix.language }}
45+
# If you wish to specify custom queries, you can do so here or in a config file.
46+
# By default, queries listed here will override any specified in a config file.
47+
# Prefix the list here with "+" to use these queries and those in the config file.
48+
# queries: ./path/to/local/query, your-org/your-repo/queries@main
4949

50-
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
51-
# If this step fails, then you should remove it and run the build manually (see below)
52-
- name: Autobuild
53-
uses: github/codeql-action/autobuild@v1
50+
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
51+
# If this step fails, then you should remove it and run the build manually (see below)
52+
- name: Autobuild
53+
uses: github/codeql-action/autobuild@v1
5454

55-
# ℹ️ Command-line programs to run using the OS shell.
56-
# 📚 https://git.io/JvXDl
55+
# ℹ️ Command-line programs to run using the OS shell.
56+
# 📚 https://git.io/JvXDl
5757

58-
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
59-
# and modify them (or add more) to build your code if your project
60-
# uses a compiled language
58+
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
59+
# and modify them (or add more) to build your code if your project
60+
# uses a compiled language
6161

62-
#- run: |
63-
# make bootstrap
64-
# make release
62+
#- run: |
63+
# make bootstrap
64+
# make release
6565

66-
- name: Perform CodeQL Analysis
67-
uses: github/codeql-action/analyze@v1
66+
- name: Perform CodeQL Analysis
67+
uses: github/codeql-action/analyze@v1

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ print(assembly_response.data['assembly_id'])
3737

3838
## Example
3939

40-
For fully working examples, take a look at [`examples/`](https://github.com/transloadit/python-sdk/tree/master/examples).
40+
For fully working examples, take a look at [`examples/`](https://github.com/transloadit/python-sdk/tree/HEAD/examples).
4141

4242
## Documentation
4343

RELEASE.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## HOWTO Release ##
1+
## HOWTO Release
22

33
This is a Howto guide on the commands to run and files to update in order to publish a new release of the Python SDK to Pypi
44

@@ -17,21 +17,23 @@ Pypandoc and Pandoc are needed to convert the readme from markdown to rst for th
1717

1818
### Release Steps
1919

20-
1. Update the changelog, the version file, and the test file as done in [this commit](https://github.com/transloadit/python-sdk/commit/35789c535bd02086ff8f3a07eda9583d6e676d4d) and push it to master.
20+
1. Update the changelog, the version file, and the test file as done in [this commit](https://github.com/transloadit/python-sdk/commit/35789c535bd02086ff8f3a07eda9583d6e676d4d) and push it to main.
2121
2. Publish to Pypi by running the following commands.
2222

2323
```bash
2424
python setup.py sdist bdist_wheel
2525
twine check dist/*
2626
twine upload dist/*
2727
```
28+
2829
The second command above (`twine check dist/*`) is meant to check for errors in the dist build, so please abort and try to fix issues if you see any errors from running the command.
2930

3031
Running the third command from above will prompt you for your [Pypi](https://pypi.org/project/pytransloadit/) username and password.
3132

3233
3. Now that release has been published on Pypi, please head to GitHub to [draft a new tag release](https://github.com/transloadit/python-sdk/releases). Point this tag release to the latest commit pushed on step 1 above. Once you're done drafting the release, go ahead to publish it.
3334

34-
If all the steps above have been followed without errors, then you've successfully published a relaease. 🎉
35+
If all the steps above have been followed without errors, then you've successfully published a relaease. 🎉
36+
37+
---
3538

36-
* * *
37-
Further reading for Transloadians: https://github.com/transloadit/team-internals/blob/master/_howtos/2020-12-14-maintain-python-sdk.md
39+
Further reading for Transloadians: https://github.com/transloadit/team-internals/blob/HEAD/_howtos/2020-12-14-maintain-python-sdk.md

docs/source/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Welcome to transloadit's Python SDK documentation!
88

99
|Build Status|
1010

11-
.. |Build Status| image:: https://travis-ci.org/transloadit/python-sdk.svg?branch=master
11+
.. |Build Status| image:: https://travis-ci.org/transloadit/python-sdk.svg?branch=main
1212
:target: https://travis-ci.org/transloadit/python-sdk
1313

1414
`Transloadit`_ is a service that helps you handle file uploads, resize,
@@ -69,4 +69,4 @@ Example
6969

7070
For fully working examples, take a look at `examples/`_.
7171

72-
.. _examples/: https://github.com/transloadit/python-sdk/tree/master/examples
72+
.. _examples/: https://github.com/transloadit/python-sdk/tree/HEAD/examples

0 commit comments

Comments
 (0)