Northstar GitHub Practices
main
main
main
PR templates will include the following:
develop
will be squashed and merged.main
will use a merge commit.When merging in a PR, the squashed commit message will include:
git-duet
to co-author commitsWhen pulling in the latest changes into a local branch, use a merge and not a rebase.
Maybe for each platforn we can come up with style / syntax guides that we want to follow for use throughout. We could start this as we start dev work. - Sammy
I really like the idea of a style guide! This would also be a great place to have some of the information in this doc once we finalize things since the project will be public it'd be great to have things documented for outside contributors. - Jax
I love the idea of having a style guide. On Android, we were looking at using Detekt as a static code analysis tool. It'll definitely be worth adding some documentation on how to use this tool along with the rule set that we're enforcing. - Tim
Options:
develop
develop
and main
branches (snapshots)main
I am a fan of having both
develop
andmain
branches since we could theoretically use git hooks to produce SNAPSHOTS from develop and releases from main. -Steven
Maybe we could consider forks for active development, instead of everyone working directly off of main / develop? Our main repo could consist of just main / develop and then maybe larger feature branches that we could PR to as well - Jon
Main
Would we rebase
develop
ontomain
once a hotfix is merged? -Steven
feature/[BRANCH NAME]
, bugfix/[BRANCH NAME]
, hotfix/[BRANCH NAME]
tdchow/[BRANCH NAME]
[JIRA TICKET]/[BRANCH NAME]
I'm personally indifferent here. I did see a gnarly bug once in one of our bash scripts though where a branch with '/' caused a script to bug out after paramater expansion. -Steven
Similarly indifferent here. I think we typically follow the first one for the most part on the PayPal iOS side. Would love to have a clearly defined way to name these though. I know on the iOS side some folks use bug vs bugFix and it would be nice to be consisient. Could also be something we add to a future style guide / development guidelines. - Jax
i think 2 is enough
Do people feel comfortable reviewing PRs in both the iOS and Android repos?
i wouldnt, i think its the developer's responsability to push for review
How do we want to merge in PRs?
I vote for squash and merge.
* This makes reverting the PR, if need be, much easier.
* It makes sifting through commit history easier to read. - Sammy
It will be helpful to keep this consistent. I like merging more since it makes reverting much easier. It also just simpler IMO. - Sammy
or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Do you want to remove this version name and description?
Syncing