Skip to content

Commit 217065e

Browse files
authored
adapt to the master->main branch rename (#321)
1 parent ee798e2 commit 217065e

File tree

6 files changed

+11
-9
lines changed

6 files changed

+11
-9
lines changed

.github/workflows/hcd.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ name: Run idiomatic pytest on HCD
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77
pull_request:
88
branches:
9-
- master
9+
- main
1010

1111
jobs:
1212
test:

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ name: ruff and mypy checks
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77
pull_request:
88
branches:
9-
- master
9+
- main
1010

1111
jobs:
1212
mypy:

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ name: Run idiomatic pytest on Astra DB
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77
pull_request:
88
branches:
9-
- master
9+
- main
1010

1111
jobs:
1212
test:

CHANGES

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
v 2.0.0
22
=======
3+
Rename main branch from 'master' ==> `main`
34
Removal of several deprecated modules/features from previous versions:
45
- 'core' (i.e. pre-1.0) library
56
- 'collection.bulk_write' and the associated result and exception classes
@@ -19,6 +20,7 @@ Removal of several deprecated modules/features from previous versions:
1920
- 'delete_all' method of Collection and AsyncCollection (use `delete_many({})`)
2021
Removal of unused imports from toplevel __init__.py (ids, constants, cursors)
2122

23+
2224
v. 1.5.2
2325
========
2426
Bugfix: `Database.get_collection` uses callers inheritance (same for async)

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Before you submit your Pull Request (PR) consider the following guidelines:
5454
* Rebase your fork and force push to your GitHub repository (this will update your Pull Request):
5555

5656
```shell
57-
git rebase master -i
57+
git rebase main -i
5858
git push -f
5959
```
6060

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ For more on this case, please consult the [dedicated reference](https://docs.dat
114114
AstraPy's abstractions for working at the data and admin layers are structured
115115
as depicted by this diagram:
116116

117-
![AstraPy, abstractions chart](https://raw.githubusercontent.com/datastax/astrapy/master/pictures/astrapy_abstractions.png)
117+
![AstraPy, abstractions chart](https://raw.githubusercontent.com/datastax/astrapy/main/pictures/astrapy_abstractions.png)
118118

119119
Here's a small admin-oriented example:
120120

@@ -144,7 +144,7 @@ my_database_admin.create_keyspace("my_dreamspace")
144144

145145
The package comes with its own set of exceptions, arranged in this hierarchy:
146146

147-
![AstraPy, exception hierarchy](https://raw.githubusercontent.com/datastax/astrapy/master/pictures/astrapy_exceptions.png)
147+
![AstraPy, exception hierarchy](https://raw.githubusercontent.com/datastax/astrapy/main/pictures/astrapy_exceptions.png)
148148

149149
For more information, and code examples, check out the docstrings and consult
150150
the API reference linked above.

0 commit comments

Comments
 (0)