Skip to content

Commit 843b66e

Browse files
committed
Update readme and license
1 parent 1c6113c commit 843b66e

File tree

2 files changed

+74
-0
lines changed

2 files changed

+74
-0
lines changed

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2017 Franklin Koch
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

+53
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,55 @@
11
# gitproj-diff
2+
23
Easy links for your git project diffs!
4+
5+
## Purpose
6+
7+
[git-project](https://github.com/aranzgeo/git-project) enables smooth project
8+
and sub-repository management when all component repositories are rapidly changing.
9+
Unfortunately, when sub-repositories change, this only shows up in the parent repo
10+
as a one line diff with the old and new commit references.
11+
12+
This chrome extension turns those one line diffs in github into links that
13+
take you directly to the compare view in the sub-repo.
14+
15+
## Installation
16+
17+
This extension may be installed as an unpacked extension in developer mode:
18+
19+
1. Navigate to `chrome://extensions`
20+
2. Check "Developer mode" box
21+
3. Click "Load unpacked extension..."
22+
4. Navigate to and select the `gitproj-diff/` folder
23+
24+
You may also need to set up aliases. This is a dictionary of library nickname keys
25+
and actual library name values.
26+
27+
For example, if your .gitproj file looks like:
28+
29+
```
30+
version: 0.1.0
31+
repos:
32+
MSR deps/my-sub-repo [email protected]:org/my-sub-repo.git
33+
states:
34+
MSR dev bea52b0fde4a896139b1526b457837b07e6dd987
35+
```
36+
37+
you need to set up:
38+
```javascript
39+
...
40+
var aliases = {
41+
"MSR": "my-sub-repo",
42+
}
43+
...
44+
```
45+
46+
## Limitations
47+
48+
- All repositories and sub-repositories must be under the same user/org.
49+
- Changes to github HTML will most likely break this extension.
50+
- The Javascript code isn't exceptionally beautiful...
51+
52+
## Acknowledgments
53+
54+
This extension was originally based on a template created by Tom Maxwell,
55+
available [here](https://9to5google.com/2015/06/14/how-to-make-a-chrome-extensions/).

0 commit comments

Comments
 (0)