Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
Torchaudio
Commits
8a347b62
Unverified
Commit
8a347b62
authored
Jul 31, 2021
by
Nikita Shulga
Committed by
GitHub
Jul 31, 2021
Browse files
Prep to rename default branch to `main` (#1659)
parent
70bb4920
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
12 additions
and
12 deletions
+12
-12
.circleci/build_docs/commit_docs.sh
.circleci/build_docs/commit_docs.sh
+2
-2
.circleci/config.yml
.circleci/config.yml
+2
-2
.circleci/config.yml.in
.circleci/config.yml.in
+2
-2
.github/workflows/bandit.yml
.github/workflows/bandit.yml
+1
-1
.github/workflows/codeql.yml
.github/workflows/codeql.yml
+1
-1
CONTRIBUTING.md
CONTRIBUTING.md
+1
-1
README.md
README.md
+1
-1
docs/source/conf.py
docs/source/conf.py
+2
-2
No files found.
.circleci/build_docs/commit_docs.sh
View file @
8a347b62
...
...
@@ -6,7 +6,7 @@ set -ex
if
[
"
$2
"
==
""
]
;
then
echo
call as
"
$0
"
"<src>"
"<target branch>"
echo
where src is the root of the built documentation git checkout and
echo
branch should be
"ma
ster
"
or
"1.7"
or so
echo
branch should be
"ma
in
"
or
"1.7"
or so
exit
1
fi
...
...
@@ -20,7 +20,7 @@ git checkout gh-pages
mkdir
-p
./
"
${
target
}
"
rm
-rf
./
"
${
target
}
"
/
*
cp
-r
"
${
src
}
/docs/build/html/"
*
./
"
$target
"
if
[
"
${
target
}
"
==
"ma
ster
"
]
;
then
if
[
"
${
target
}
"
==
"ma
in
"
]
;
then
mkdir
-p
./_static
rm
-rf
./_static/
*
cp
-r
"
${
src
}
/docs/build/html/_static/"
*
./_static
...
...
.circleci/config.yml
View file @
8a347b62
...
...
@@ -607,7 +607,7 @@ jobs:
# https://circleci.com/docs/2.0/configuration-reference/#checkout
set -ex
tag=${CIRCLE_TAG:1:5}
target=${tag:-ma
ster
}
target=${tag:-ma
in
}
~/workspace/.circleci/build_docs/commit_docs.sh ~/workspace $target
docstring_parameters_sync
:
...
...
@@ -3159,6 +3159,6 @@ workflows:
filters
:
branches
:
only
:
-
ma
ster
-
ma
in
jobs
:
-
smoke_test_docker_image_build
.circleci/config.yml.in
View file @
8a347b62
...
...
@@ -607,7 +607,7 @@ jobs:
# https://circleci.com/docs/2.0/configuration-reference/#checkout
set -ex
tag=${CIRCLE_TAG:1:5}
target=${tag:-ma
ster
}
target=${tag:-ma
in
}
~/workspace/.circleci/build_docs/commit_docs.sh ~/workspace $target
docstring_parameters_sync:
...
...
@@ -644,6 +644,6 @@ workflows:
filters:
branches:
only:
- ma
ster
- ma
in
jobs:
- smoke_test_docker_image_build
.github/workflows/bandit.yml
View file @
8a347b62
...
...
@@ -4,7 +4,7 @@ name: Bandit
on
:
pull_request
:
branches
:
[
ma
ster
]
branches
:
[
ma
in
]
workflow_dispatch
:
...
...
.github/workflows/codeql.yml
View file @
8a347b62
...
...
@@ -4,7 +4,7 @@ name: CodeQL
on
:
pull_request
:
branches
:
[
ma
ster
]
branches
:
[
ma
in
]
workflow_dispatch
:
...
...
CONTRIBUTING.md
View file @
8a347b62
...
...
@@ -94,7 +94,7 @@ Optional packages to install if you want to run related tests:
If you plan to modify the code or documentation, please follow the steps below:
1.
Fork the repository and create your branch from
`ma
ster
`
:
`$ git checkout ma
ster
&& git checkout -b my_cool_feature`
1.
Fork the repository and create your branch from
`ma
in
`
:
`$ git checkout ma
in
&& git checkout -b my_cool_feature`
2.
If you have modified the code (new feature or bug-fix),
[
please add tests
](
test/torchaudio_unittest/
)
.
3.
If you have changed APIs,
[
update the documentation
](
#Documentation
)
.
...
...
README.md
View file @
8a347b62
...
...
@@ -31,7 +31,7 @@ The following are the corresponding ``torchaudio`` versions and supported Python
|
``torch``
|
``torchaudio``
|
``python``
|
| ------------------------ | ------------------------ | ------------------------------- |
|
``master``
/
``nightly``
|
``ma
ster
``
/
``nightly``
|
``>=3.6``
,
``<=3.9``
|
|
``master``
/
``nightly``
|
``ma
in
``
/
``nightly``
|
``>=3.6``
,
``<=3.9``
|
|
``1.9.0``
|
``0.9.0``
|
``>=3.6``
,
``<=3.9``
|
|
``1.8.0``
|
``0.8.0``
|
``>=3.6``
,
``<=3.9``
|
|
``1.7.1``
|
``0.7.2``
|
``>=3.6``
,
``<=3.9``
|
...
...
docs/source/conf.py
View file @
8a347b62
...
...
@@ -85,10 +85,10 @@ author = 'Torchaudio Contributors'
#
# The short X.Y version.
# TODO: change to [:2] at v1.0
version
=
'ma
ster
'
version
=
'ma
in
'
# The full version, including alpha/beta/rc tags.
# TODO: verify this works as expected
release
=
'ma
ster
'
release
=
'ma
in
'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment