Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit 3f31f60

Browse files
committed
Merge branch 'master' into pr-1805/atom/sm/commit-preview-tweaks
2 parents a465a67 + 0e013b6 commit 3f31f60

File tree

149 files changed

+11677
-4005
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

149 files changed

+11677
-4005
lines changed

.nycrc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
],
77
"exclude": [
88
"lib/views/git-cache-view.js",
9-
"lib/views/git-timings-view.js"
9+
"lib/views/git-timings-view.js",
10+
"lib/relay-network-layer-manager.js"
1011
]
1112
}

.travis.yml

Lines changed: 0 additions & 67 deletions
This file was deleted.

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22

33
| Build | Code Coverage | Dependencies |
44
|-------|---------------|--------------|
5-
| [![Build Status](https://dev.azure.com/atom-github/GitHub%20package%20for%20Atom/_apis/build/status/atom.github)](https://dev.azure.com/atom-github/GitHub%20package%20for%20Atom/_build/latest?definitionId=1) | [![Coverage Status](https://coveralls.io/repos/github/atom/github/badge.svg?branch=master)](https://coveralls.io/github/atom/github?branch=master) | [![Greenkeeper badge](https://badges.greenkeeper.io/atom/github.svg)](https://greenkeeper.io/) [![Dependency Status](https://david-dm.org/atom/github.svg)](https://david-dm.org/atom/github) |
5+
| [![Build Status](https://dev.azure.com/atom-github/GitHub%20package%20for%20Atom/_apis/build/status/atom.github)](https://dev.azure.com/atom-github/GitHub%20package%20for%20Atom/_build/latest?definitionId=1) | [![codecov](https://codecov.io/gh/atom/github/branch/master/graph/badge.svg)](https://codecov.io/gh/atom/github) | [![Greenkeeper badge](https://badges.greenkeeper.io/atom/github.svg)](https://greenkeeper.io/) [![Dependency Status](https://david-dm.org/atom/github.svg)](https://david-dm.org/atom/github) |
66

77
The Atom GitHub package provides Git and GitHub integration for Atom. Check out [github.atom.io](https://github.atom.io) for more information.
88

9-
<img width="880" alt="git-integration" src="https://user-images.githubusercontent.com/378023/42010937-0961e420-7acc-11e8-9aaa-417514317206.png">
9+
<img width="880" alt="GitHub for Atom" src="https://user-images.githubusercontent.com/378023/49062969-2e717a00-f259-11e8-8207-2ecbc6981cd6.png">
1010

11-
<img width="880" alt="merge-conflicts" src="https://user-images.githubusercontent.com/378023/42010938-098e3430-7acc-11e8-95dd-770409785471.png">
11+
<img width="880" alt="git-integration" src="https://user-images.githubusercontent.com/378023/49062970-2f0a1080-f259-11e8-91e9-9402ec76cd66.png">
1212

13-
<img width="880" alt="github-integration" src="https://user-images.githubusercontent.com/378023/42010939-09b90dea-7acc-11e8-899c-99fc7faeba8e.png">
13+
<img width="880" alt="github-integration" src="https://user-images.githubusercontent.com/378023/50207061-b4906480-03b0-11e9-92fb-57f7efa0982b.png">
1414

1515
## Installation
1616

azure-pipelines.yml

Lines changed: 15 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,3 @@
1-
trigger:
2-
branches:
3-
include:
4-
- master
5-
- releases/*
6-
paths:
7-
exclude:
8-
- README.md
9-
- docs/*
10-
11-
pr:
12-
branches:
13-
include:
14-
- "*"
15-
paths:
16-
exclude:
17-
- README.md
18-
- docs/*
19-
201
jobs:
212
- job: Linux
223
pool:
@@ -57,6 +38,11 @@ jobs:
5738
- bash: npm run report:coverage
5839
displayName: generate code coverage reports
5940
condition: succeededOrFailed()
41+
- bash: npm run codecov -- --build="Linux $(atom_channel)"
42+
displayName: publish code coverage to CodeCov
43+
env:
44+
CODECOV_TOKEN: $(codecov.token)
45+
condition: succeededOrFailed()
6046
- task: PublishCodeCoverageResults@1
6147
inputs:
6248
codeCoverageTool: cobertura
@@ -101,6 +87,11 @@ jobs:
10187
- bash: npm run report:coverage
10288
displayName: generate code coverage reports
10389
condition: succeededOrFailed()
90+
- bash: npm run codecov -- --build="MacOS $(atom_channel)"
91+
displayName: publish code coverage to CodeCov
92+
env:
93+
CODECOV_TOKEN: $(codecov.token)
94+
condition: succeededOrFailed()
10495
- task: PublishCodeCoverageResults@1
10596
inputs:
10697
codeCoverageTool: cobertura
@@ -165,6 +156,11 @@ jobs:
165156
- powershell: npm run report:coverage
166157
displayName: generate code coverage reports
167158
condition: succeededOrFailed()
159+
- powershell: npm run codecov -- --build="Windows $(atom_channel)"
160+
displayName: publish code coverage to CodeCov
161+
env:
162+
CODECOV_TOKEN: $(codecov.token)
163+
condition: succeededOrFailed()
168164
- task: PublishCodeCoverageResults@1
169165
inputs:
170166
codeCoverageTool: cobertura

codecov.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
coverage:
2+
status:
3+
project:
4+
default:
5+
# Allow coverage to drop by as much as 2% from the parent commit or pull request base
6+
threshold: 2
7+
8+
patch:
9+
default:
10+
threshold: 2

docs/core-team-process.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ The problem at hand is decomposed into a queue of relatively independent tasks t
5757

5858
### 3. Hand-offs
5959

60-
In this method, each developer (or pair) tackles a single problem in serial during their working hours. When the next developer becomes available, the previous one writes a summary of their efforts and progress in a hand-off, either synchronously and interactively in Slack or asynchronously with a pull request comment. Once the next developer is caught up, they make progress and hand off to the next, and so on.
60+
In this method, each developer (or pair) tackles a single problem in serial during their working hours. When the next developer becomes available, the previous one writes a summary of their efforts and progress in a hand-off, synchronously and interactively in a dedicated Slack channel. Once the next developer is caught up, they make progress and hand off to the next, and so on.
6161

62-
> Example: developer A logs in during their morning and works for a few hours on the next phase of a feature implementation. They make some progress on the model, but don't progress the controller beyond some stubs and don't get a chance to touch the view at all. When developer B logs in, developer A shares their progress with a conversation in Slack or Zoom until developer B is confident that they understand the problem's current state, at which point developer B begins working and making commits to the feature branch. Developer B implements the view, correcting and adding some methods to the model as needed. Finally, developer C logs in, and developers A and C pair to write the controller methods. They write a comment on the pull request as they wrap up describing the changes that they've made together. Developer B returns the next day, puts the finishing touches on the tests, writes or refines some documentation on the new code, and merges the pull request.
62+
> Example: developer A logs in during their morning and works for a few hours on the next phase of a feature implementation. They make some progress on the model, but don't progress the controller beyond some stubs and don't get a chance to touch the view at all. When developer B logs in, developer A shares their progress with a conversation in Slack until developer B is confident that they understand the problem's current state, at which point developer B begins working and making commits to the feature branch. Developer B implements the view, correcting and adding some methods to the model as needed. Finally, developer C logs in, and developers A and C pair to write the controller methods. They update Slack with their progress as they wrap up describing the changes that they've made together. Developer B returns the next day, puts the finishing touches on the tests, writes or refines some documentation on the new code, and merges the pull request.
6363
6464
:+1: _Advantages:_
6565

@@ -103,7 +103,7 @@ Use a package configuration setting to control when features under development a
103103

104104
## All together
105105

106-
Each set of developers who are online synchronously can divide work into Seams. As that set changes when people come online and drop offline, we use Handoffs to pass context along.
106+
Each set of developers who are online synchronously can divide work into Seams. As that set changes when people come online and drop offline, we use Handoffs to pass context along. Remaining tasking is tracked in a dedicated, loosely-managed feature project linked from the feature request PR.
107107

108108
As we work, we push commits to a common branch, against a common pull request. Depending on the feature under construction, we either Dark Ship code in an early state or hide its entry points behind a Feature Flag.
109109

docs/feature-requests/000-template.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@ For community contributors -- Please fill out Part 1 of the following template.
66

77
# Feature title
88

9-
## :tipping_hand_woman: Status
10-
11-
Proposed
12-
139
## :memo: Summary
1410

1511
One paragraph explanation of the feature.
File renamed without changes.

docs/react-component-atlas.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,15 +80,26 @@ This is a high-level overview of the structure of the React component tree that
8080
> > [`<CommitPreviewItem>`](/lig/items/commit-preview-item.js)
8181
> > [`<CommitPreviewContainer>`](/lib/containers/commit-preview-container.js)
8282
> >
83-
> > The workspace-center pane that appears when looking at _all_ the staged changes that will be going into the next commit.
83+
> > The workspace-center pane item that appears when looking at _all_ the staged changes that will be going into the next commit.
84+
> >
85+
> > > [`<MultiFilePatchController>`](/lib/controllers/multi-file-patch-controller.js)
86+
> > > [`<MultiFilePatchView>`](/lib/views/multi-file-patch-view.js)
87+
>
88+
> > [`<CommitDetailItem>`](/lib/items/issueish-detail-item.js)
89+
> > [`<CommitDetailContainer>`](/lib/containers/commit-detail-container.js)
90+
> > [`<CommitDetailController>`](/lib/controllers/commit-detail-controller.js)
91+
> > [`<CommitDetailView>`](/lib/views/commit-detail-controller.js)
92+
> >
93+
> > The workspace-center pane item that appears when looking at all the changes associated with a single commit that already exists in the current branch.
8494
> >
8595
> > > [`<MultiFilePatchController>`](/lib/controllers/multi-file-patch-controller.js)
8696
> > > [`<MultiFilePatchView>`](/lib/views/multi-file-patch-view.js)
8797
>
8898
> > [`<IssueishDetailItem>`](/lib/items/issueish-detail-item.js)
8999
> > [`<IssueishDetailContainer>`](/lib/containers/issueish-detail-container.js)
90100
> > [`<IssueishDetailController>`](/lib/controllers/issueish-detail-controller.js)
91-
> > [`<IssueishDetailView>`](/lib/controllers/issueish-detail-controller.js)
101+
> > [`<IssueDetailView>`](/lib/views/issue-detail-view.js)
102+
> > [`<PullRequestDetailView>`](/lib/views/pr-detail-view.js)
92103
> >
93104
> > The workspace-center pane that displays information about a pull request or issue ("issueish", collectively) from github.com.
94105
> >
@@ -110,6 +121,13 @@ This is a high-level overview of the structure of the React component tree that
110121
> > > [`<PrCommitView>`](/lib/views/pr-commit-view.js)
111122
> > >
112123
> > > Enumerate the commits associated with a pull request.
124+
> >
125+
> > > [`<PullRequestChangedFilesContainer>`](/lib/containers/pr-changed-files-container.js)
126+
> > >
127+
> > > Show all the changes, separated by files, introduced in a pull request.
128+
> > >
129+
> > > > [`<MultiFilePatchController>`](/lib/controllers/multi-file-patch-controller.js)
130+
> > > > [`<MultiFilePatchView>`](/lib/views/multi-file-patch-view.js)
113131
>
114132
> > [`<InitDialog>`](/lib/views/init-dialog.js)
115133
> > [`<CloneDialog>`](/lib/views/clone-dialog.js)

0 commit comments

Comments
 (0)