Skip to content

Commit d716d84

Browse files
authored
Rename references from master to main (#835)
1 parent f331650 commit d716d84

File tree

6 files changed

+19
-19
lines changed

6 files changed

+19
-19
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ deploy:
99
skip_cleanup: true
1010
script: ./publish.sh
1111
on:
12-
branch: master
12+
branch: main
1313

1414
notifications:
1515
irc:

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ through a series of *stages* intended to improve *visibility*, allow for
1616
becomes ever more important as GraphQL's community broadens.
1717

1818
When proposing or weighing-in on any issue or pull request, consider the
19-
[Code of Conduct](https://github.com/graphql/foundation/blob/master/CODE-OF-CONDUCT.md)
19+
[Code of Conduct](https://github.com/graphql/foundation/blob/main/CODE-OF-CONDUCT.md)
2020
to better understand expected and unacceptable behavior.
2121

2222

@@ -223,7 +223,7 @@ edits to any other affected areas of the spec. Once *accepted*, its *champion*
223223
should encourage adoption of the RFC by opening issues or pull requests on other
224224
popular GraphQL libraries.
225225

226-
An *accepted* RFC is merged into the GraphQL spec's master branch by an editor
226+
An *accepted* RFC is merged into the GraphQL spec's main branch by an editor
227227
and will be included in the next released revision.
228228

229229

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ The GraphQL specification is edited in the markdown files found in [`/spec`](./s
66
the latest release of which is published at https://graphql.github.io/graphql-spec/.
77

88
The latest draft specification can be found at https://graphql.github.io/graphql-spec/draft/
9-
which tracks the latest commit to the master branch in this repository.
9+
which tracks the latest commit to the main branch in this repository.
1010

1111
Previous releases of the GraphQL specification can be found at permalinks that
1212
match their [release tag](https://github.com/graphql/graphql-spec/releases). For
@@ -51,7 +51,7 @@ of objects it can return, described in a GraphQL type system and returned
5151
in the GraphQL Schema.
5252

5353
For our Star Wars example, the
54-
[starWarsSchema.js](https://github.com/graphql/graphql-js/blob/master/src/__tests__/starWarsSchema.js)
54+
[starWarsSchema.js](https://github.com/graphql/graphql-js/blob/main/src/__tests__/starWarsSchema.js)
5555
file in GraphQL.js defines this type system.
5656

5757
The most basic type in the system will be `Human`, representing characters
@@ -72,7 +72,7 @@ This shorthand is convenient for describing the basic shape of a type
7272
system; the JavaScript implementation is more full-featured, and allows types
7373
and fields to be documented. It also sets up the mapping between the
7474
type system and the underlying data; for a test case in GraphQL.js, the
75-
underlying data is a [set of JavaScript objects](https://github.com/graphql/graphql-js/blob/master/src/__tests__/starWarsData.js),
75+
underlying data is a [set of JavaScript objects](https://github.com/graphql/graphql-js/blob/main/src/__tests__/starWarsData.js),
7676
but in most cases the backing data will be accessed through some service, and
7777
this type system layer will be responsible for mapping from types and fields to
7878
that service.
@@ -237,7 +237,7 @@ When we package the whole type system together, defining the `Query` type
237237
above as our entry point for queries, this creates a GraphQL Schema.
238238

239239
This example just scratched the surface of the type system. The specification
240-
goes into more detail about this topic in the "Type System" section, and the [type](https://github.com/graphql/graphql-js/blob/master/src/type)
240+
goes into more detail about this topic in the "Type System" section, and the [type](https://github.com/graphql/graphql-js/blob/main/src/type)
241241
directory in GraphQL.js contains code implementing
242242
a specification-compliant GraphQL type system.
243243

@@ -247,11 +247,11 @@ GraphQL queries declaratively describe what data the issuer wishes
247247
to fetch from whoever is fulfilling the GraphQL query.
248248

249249
For our Star Wars example, the
250-
[starWarsQueryTests.js](https://github.com/graphql/graphql-js/blob/master/src/__tests__/starWarsQuery-test.js)
250+
[starWarsQueryTests.js](https://github.com/graphql/graphql-js/blob/main/src/__tests__/starWarsQuery-test.js)
251251
file in the GraphQL.js repository contains a number of queries and responses.
252252
That file is a test file that uses the schema discussed above and a set of
253253
sample data, located in
254-
[starWarsData.js](https://github.com/graphql/graphql-js/blob/master/src/__tests__/starWarsData.js).
254+
[starWarsData.js](https://github.com/graphql/graphql-js/blob/main/src/__tests__/starWarsData.js).
255255
This test file can be run to exercise the reference implementation.
256256

257257
An example query on the above schema would be:
@@ -595,7 +595,7 @@ We would find that it was Luke, who is a Human:
595595
As with the type system, this example just scratched the surface of the query
596596
language. The specification goes into more detail about this topic in the
597597
"Language" section, and the
598-
[language](https://github.com/graphql/graphql-js/blob/master/src/language)
598+
[language](https://github.com/graphql/graphql-js/blob/main/src/language)
599599
directory in GraphQL.js contains code implementing a
600600
specification-compliant GraphQL query language parser and lexer.
601601

@@ -607,7 +607,7 @@ developers when an invalid query has been created, without having to rely
607607
on runtime checks.
608608

609609
For our Star Wars example, the file
610-
[starWarsValidationTests.js](https://github.com/graphql/graphql-js/blob/master/src/__tests__/starWarsValidation-test.js)
610+
[starWarsValidationTests.js](https://github.com/graphql/graphql-js/blob/main/src/__tests__/starWarsValidation-test.js)
611611
contains a number of queries demonstrating various invalidities, and is a test
612612
file that can be run to exercise the reference implementation's validator.
613613

@@ -734,7 +734,7 @@ This has just scratched the surface of the validation system; there
734734
are a number of validation rules in place to ensure that a GraphQL query
735735
is semantically meaningful. The specification goes into more detail about this
736736
topic in the "Validation" section, and the
737-
[validation](https://github.com/graphql/graphql-js/blob/master/src/validation)
737+
[validation](https://github.com/graphql/graphql-js/blob/main/src/validation)
738738
directory in GraphQL.js contains code implementing a
739739
specification-compliant GraphQL validator.
740740

@@ -745,7 +745,7 @@ queries it supports. GraphQL allows us to do so using the introspection
745745
system!
746746

747747
For our Star Wars example, the file
748-
[starWarsIntrospectionTests.js](https://github.com/graphql/graphql-js/blob/master/src/__tests__/starWarsIntrospection-test.js)
748+
[starWarsIntrospectionTests.js](https://github.com/graphql/graphql-js/blob/main/src/__tests__/starWarsIntrospection-test.js)
749749
contains a number of queries demonstrating the introspection system, and is a
750750
test file that can be run to exercise the reference implementation's
751751
introspection system.
@@ -1117,7 +1117,7 @@ and create documentation browsers, or rich IDE experiences.
11171117
This has just scratched the surface of the introspection system; we can
11181118
query for enum values, what interfaces a type implements, and more. We
11191119
can even introspect on the introspection system itself. The specification goes
1120-
into more detail about this topic in the "Introspection" section, and the [introspection](https://github.com/graphql/graphql-js/blob/master/src/type/introspection.js)
1120+
into more detail about this topic in the "Introspection" section, and the [introspection](https://github.com/graphql/graphql-js/blob/main/src/type/introspection.js)
11211121
file in GraphQL.js
11221122
contains code implementing a specification-compliant GraphQL query
11231123
introspection system.
@@ -1139,4 +1139,4 @@ To initiate the signature process please open a PR against this repo. The EasyCL
11391139

11401140
You can find [detailed information here](https://github.com/graphql/graphql-wg/tree/main/membership). If you have issues, please email [[email protected]](mailto:[email protected]).
11411141

1142-
If your company benefits from GraphQL and you would like to provide essential financial support for the systems and people that power our community, please also consider membership in the [GraphQL Foundation](https://foundation.graphql.org/join).
1142+
If your company benefits from GraphQL and you would like to provide essential financial support for the systems and people that power our community, please also consider membership in the [GraphQL Foundation](https://foundation.graphql.org/join).

rfcs/InputUnion.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Notes from the 2020/5/28 meeting: https://gist.github.com/leebyron/f7f9d81c7ca52
1111

1212
### Contributing
1313

14-
To help bring this idea to reality, you can contribute [PRs to this RFC document.](https://github.com/graphql/graphql-spec/edit/master/rfcs/InputUnion.md)
14+
To help bring this idea to reality, you can contribute [PRs to this RFC document.](https://github.com/graphql/graphql-spec/edit/main/rfcs/InputUnion.md)
1515

1616
# 📜 Problem Statement
1717

@@ -201,7 +201,7 @@ There have been a variety of use cases described by users asking for an abstract
201201

202202
# 📋 Solution Criteria
203203

204-
This section sketches out the potential goals that a solution might attempt to fulfill. These goals will be evaluated with the [GraphQL Spec Guiding Principles](https://github.com/graphql/graphql-spec/blob/master/CONTRIBUTING.md#guiding-principles) in mind:
204+
This section sketches out the potential goals that a solution might attempt to fulfill. These goals will be evaluated with the [GraphQL Spec Guiding Principles](https://github.com/graphql/graphql-spec/blob/main/CONTRIBUTING.md#guiding-principles) in mind:
205205

206206
* Backwards compatibility
207207
* Performance is a feature

spec/GraphQL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Agreement (OWFa 1.0), which is available at [openwebfoundation.org](http://www.o
3030
* Facebook, Inc.
3131

3232
You can review the signed copies of the Open Web Foundation Final Specification
33-
Agreement Version 1.0 for this specification at [github.com/graphql/graphql-spec](https://github.com/graphql/graphql-spec/tree/master/signed-agreements),
33+
Agreement Version 1.0 for this specification at [github.com/graphql/graphql-spec](https://github.com/graphql/graphql-spec/tree/main/signed-agreements),
3434
which may also include additional parties to those listed above.
3535

3636
Your use of this Specification may be subject to other third party rights.

spec/Section 3 -- Type System.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1830,7 +1830,7 @@ which may be specified by future versions of this document (which will not
18301830
include `_` in their name). For example, a custom directive used by Facebook's
18311831
GraphQL service should be named `@fb_auth` instead of `@auth`. This is
18321832
especially recommended for proposed additions to this specification which can
1833-
change during the [RFC process](https://github.com/graphql/graphql-spec/blob/master/CONTRIBUTING.md).
1833+
change during the [RFC process](https://github.com/graphql/graphql-spec/blob/main/CONTRIBUTING.md).
18341834
For example a work in progress version of `@live` should be named `@rfc_live`.
18351835

18361836
Directives must only be used in the locations they are declared to belong in.

0 commit comments

Comments
 (0)