You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/ISSUE_TEMPLATE.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ I'm submitting a new issue. Please see the details below.
20
20
21
21
22
22
### → Step 3: Share an example of the issue 🦄
23
-
> Here's some example code or a demonstration of my feature in this issue, separe GitHub repo, or in the https://editor.p5js.org or codepen/jsfiddle/Glitch/etc...
23
+
> Here's some example code or a demonstration of my feature in this issue, separate GitHub repo, or in the https://editor.p5js.org or codepen/jsfiddle/Glitch/etc...
Copy file name to clipboardExpand all lines: .github/PULL_REQUEST_TEMPLATE.md
+3-8Lines changed: 3 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,12 +9,7 @@ I'm making a Pull Request(PR). Please see the details below.
9
9
10
10
**A good PR 🌟**
11
11
12
-
### → Step 1: Which branch are you submitting to? 🌲
13
-
> Development (for new features or updates), Release (for bug fixes), or ___________?
14
-
15
-
16
-
17
-
### → Step 2: Describe your Pull Request 📝
12
+
### → Step 1: Describe your Pull Request 📝
18
13
> Fixing a Bug? Adding an Update? Submitting a New Feature? Does it introduce a breaking change?
19
14
20
15
@@ -23,15 +18,15 @@ I'm making a Pull Request(PR). Please see the details below.
23
18
24
19
**A great PR 🌟🌟**
25
20
26
-
### → Step 3: Share a Relevant Example 🦄
21
+
### → Step 2: Share a Relevant Example 🦄
27
22
> Here's some example code or a demonstration of my feature as a part of this pull request, a separate pull request, in the https://editor.p5js.org, or codepen/jsfiddle/etc...
28
23
29
24
30
25
31
26
32
27
**The best PR 🌟🌟🌟**
33
28
34
-
### → Step 4: Screenshots or Relevant Documentation 🖼
29
+
### → Step 3: Screenshots or Relevant Documentation 🖼
35
30
> Here's some helpful screenshots and/or documentation of the new feature
Copy file name to clipboardExpand all lines: CODE_OF_CONDUCT.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@ We like these hashtags: #noCodeSnobs (because we value community over efficiency
41
41
42
42
Our community is always looking for enthusiasts to help in all different ways.
43
43
44
-
-**Develop**. [GitHub](https://github.com/ml5js/ml5-library) is the main place where code is collected, issues are documented, and discussions about code are had. Check out the [contributing documentation to get started](https://github.com/ml5js/ml5-library/blob/development/CONTRIBUTING.md) with developing the library.
44
+
-**Develop**. [GitHub](https://github.com/ml5js/ml5-library) is the main place where code is collected, issues are documented, and discussions about code are had. Check out the [contributing documentation to get started](https://github.com/ml5js/ml5-library/blob/main/CONTRIBUTING.md) with developing the library.
45
45
-**Document**. Everyone loves documentation. Help is needed porting examples, and adding documentation, and creating tutorials.
46
46
-**Teach**. Teach a workshop, a class, a friend, a collaborator! Tag [@ml5js on Twitter](https://twitter.com/ml5js?lang=en) and we will do our best to share what you're doing.
47
47
-**Create**. ml5.js is looking for designers, artists, coders, programmers to bring your creative and amazing work to show and inspire other people. Submit your work to [email protected].
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+13-13Lines changed: 13 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,11 +3,11 @@
3
3
4
4

5
5
6
-
## The ml5 ecosystem (last updated: 22, March 2019)
6
+
## The ml5 ecosystem (last updated: 24, May 2020)
7
7
8
8
ml5.js is comprised a number of sister repositories which you can find at the [ml5 github organization - github.com/ml5js](https://github.com/ml5js). As a contributor of ml5 you should be aware of the other parallel repositories of the ml5 project.
9
9
10
-
-**The 3 main repositories you'll likely be working with**:
10
+
-**The 2 main repositories you'll likely be working with**:
* this is the main ml5js library. When building the library, all of the files in the `/src` directory get bundled into the `ml5.js` library. Releases to the ml5 library get sent to `npm` and are hosted at https://unpkg.com/ (e.g. `https://unpkg.com/[email protected]/dist/ml5.min.js`). When adding new features or updates to the ml5 library, you should also add an example in the `examples/` subdirectory of this repo to showcase how your new feature works. Usually examples are submitted in a simple p5.js sketch, but they can also be in vanilla javascript.
@@ -37,8 +37,8 @@ Preamble: If you're interested in to contribute to the ml5 project, just know yo
37
37
3. you make a comment on an existing issue or post your issue and indicate that you're curious to do your best to solve it 🔬
38
38
4. you create a new branch on your `forked` copy of the ml5-library and call it something meaningful like `fix-detection-results`
39
39
5. you jam on fixing the bug, commit your changes with meaningful commit messages, and push your changes to your bug fix branch (e.g. `fix-detection-results`)
40
-
6. when ready, make a pull request to the `release` branch or `development` branch of ml5-library. Submit to the `release` branch if the bug you found was in the current ml5 release - the version of ml5 which is on npm. Submit to the `development` branch if the bug you found was in `development` branch of ml5-library.
41
-
7. the ml5 dev team will review your changes and quite likely correspond with you on your changes. When all looks good, your changes will be merged in. 🎉
40
+
6. when ready, make a pull request to the `main` branch of ml5-library. Prepend "[NEEDS RELEASE]" to the title if the bug you found was in the current ml5 release - the version of ml5 which is on npm.
41
+
7. the ml5 dev team will review your changes and quite likely correspond with you on your changes. When all looks good, a `ready for release` label will be added to your PR and your changes will be merged in and release with the next public update to the library. 🎉
42
42
8. hi-fives 👏 and hugs 🤗
43
43
44
44
### For new features or feature additions/updates
@@ -48,7 +48,7 @@ Preamble: If you're interested in to contribute to the ml5 project, just know yo
48
48
4. you create a new branch on your `forked` copy of the ml5-library and call it something meaningful like `new-generative-model-x`
49
49
5. you jam on your new feature, commit your changes with meaningful commit messages, and push your changes to your new feature branch (e.g. `new-generative-model-x`)
50
50
6. you should also add an example of your new feature to the `examples/` directory so that other people can learn how to use your new feature.
51
-
7. when ready, make a pull request to the `development` branch of ml5-library. Submit to the `development` since your feature is part of the new frontier of the ml5-library. Important is step 7 below.
51
+
7. when ready, make a pull request to the `main` branch of ml5-library.
52
52
8. the ml5 dev team will review your changes and quite likely correspond with you on your changes. When all looks good, your changes will be merged in. 🎉
This creates a new folder called `/manual-test` in the project's root folder. Create an `index.html` file inside `/manual-test` and add the following:
171
+
This creates a new folder called `/manual-test` in the project's root folder. The `/manual-test` folder contains an `index.html` file with the following content:
@@ -254,6 +252,8 @@ This last one is case sensitive!
254
252
255
253
## Making Releases (For the ml5 core team)
256
254
255
+
**NOTE: This section needs to be updated to align with the new `main` branch structure.**
256
+
257
257
Work in progress - we are working on making a few scripts to make it easier to make releases and deployments. For now, to address the long-winded process noted in https://github.com/ml5js/ml5-library/issues/387, we are experimenting with some devOps scripts.
258
258
259
259
In the instance you're ready to make a new release from `development` to `release`:
@@ -315,9 +315,9 @@ Go to Github and wait for tests to pass, then `squash and merge` the newly creat
315
315
npm run publish:npm
316
316
```
317
317
318
-
7. Enter your multi-factor auth when prompted where it says `OTP` (one time password): `your OTP code`
319
-
8. Your new npm version should be released!
320
-
9. Lastly, go to Github and document that new release with `release notes`.
318
+
10. Enter your multi-factor auth when prompted where it says `OTP` (one time password): `your OTP code`
319
+
11. Your new npm version should be released!
320
+
12. Lastly, go to Github and document that new release with `release notes`.
0 commit comments