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: README.md
+20-11Lines changed: 20 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ cd stm_app
47
47
cargo run -- --project "path_to_any_of_your_local_projects"
48
48
```
49
49
50
-
The app will access `.git` folder inside `path_to_any_of_your_local_projects` directory and create an anonymous profile with your first report on _stackmuncher.com_. Add `--dryrun` flag to generate a report without creating a profile or submitting any data to the Directory. Look at the log printed by the app for details to examine the prepared report.
50
+
The app will access `.git` folder inside `path_to_any_of_your_local_projects` directory and create an anonymous profile with your first report on _stackmuncher.com_. Add `--dryrun` flag to generate a report without creating a profile or submitting any data to the Directory. Look at the log printed by the app for details if you want to examine the prepared report.
51
51
52
52
The **default config** of the app assumes that it is run on a development machine from the root folder of a repository you made commits to.
53
53
@@ -83,7 +83,7 @@ Find out what email addresses were used in commits to `xml_to_serde` repo:
83
83
_mx_ and _rimutaka_ are the same person. Let's add both emails to StackMuncher config using `--email` parameter:
The app stored two emails from `--emails` param in its config file and printed its full config info (`view_config` command). From now on it will look for commits from _[email protected]_ and _[email protected]_.
100
-
99
+
The app stored two emails from `--emails` param in its config file and printed its full config info (`config` command). From now on it will look for commits from _[email protected]_ and _[email protected]_.
101
100
102
101
## Adding more projects to your profile
103
102
@@ -122,10 +121,20 @@ Git will invoke the app every time you make a commit to a repo with the post-com
122
121
123
122
You can skip adding the Git hook and run `stackmuncher` from the root of any of your projects. No additional params are required.
124
123
124
+
## Making your profile public
125
+
126
+
Public profiles are searchable by employers looking for software developers. Your public profile will be created with the same login and personal details as your GitHub profile.
127
+
128
+
E.g. https://stackmuncher.com/rimutaka has _contact details_ and _public projects_ from https://github.com/rimutaka as well as _private projects_ from https://stackmuncher.com/?dev=9PdHabyyhf4KhHAE1SqdpnbAZEXTHhpkermwfPQcLeFK.
129
+
130
+
1. Run `stackmuncher github`
131
+
2. Use the signature it printed for a private Gist to confirm your GitHub account ownership
132
+
3. Run `stackmuncher config --gist [URL of the Gist]`
133
+
125
134
## Using StackMuncher app on multiple machines
126
135
127
136
1. Clone this repo onto a 2nd machine
128
-
2. Run `cargo run -- view_config` to bootstrap the app
137
+
2. Run `cargo run -- config` to bootstrap the app
129
138
3. Copy-paste the contents of `.stm_config/config.json` and `.stm_config/key.txt` from the 1st to the 2nd machine
130
139
131
140
The 2nd machine will be connected to the same Developer Profile as the first one for as long as they share the same _key.txt_ file. If you loose the key file the app will generate a new one and create a new Developer Profile. Contact us on [email protected] to merge the old profile into the new one.
@@ -135,7 +144,7 @@ The 2nd machine will be connected to the same Developer Profile as the first one
135
144
Running `stackmuncher` without any additional params generates a report forthe projectin the current working directory and updates your developer profile.
136
145
137
146
Anonymous profiles are identified by a public key from the key-pair generated by the app on the first run. E.g. https://stackmuncher.com/?dev=9PdHabyyhf4KhHAE1SqdpnbAZEXTHhpkermwfPQcLeFK
138
-
The key is located in the app's config folder and can be copied to another machine to connect to the same developer profile. Run `stackmuncher view_config` command to see the exact location of the config folder.
147
+
The key is located in the app's config folder and can be copied to another machine to connect to the same developer profile. Run `stackmuncher config` command to see the exact location of the config folder.
*`--reports "path to reports folder"`: a path to an alternative location for saving stack reports. The path can be relative or absolute. Defaults to the application folder.
185
194
*`--config "path to config folder"`: a path to an alternative location of the config folder. The path can be relative or absolute. Defaults to the application folder.
186
195
187
-
*`--help`: display usage info
196
+
#### Additional info
188
197
189
-
#### Additional commands
190
-
*`view_config`: displays the contents of the config file and its location. The config file can be edited manually or copied to another machine together with the key file to connect to the same Developer Profile.
198
+
*`stackmuncher help`: displays usage info
199
+
*`stackmuncher config`: display the contents of the config file and its location. The config file can be edited manually.
191
200
192
201
## Limitations
193
202
@@ -213,7 +222,7 @@ We want to hear about as many issues users run into as possible. Copy-paste the
213
222
**If the app did something, but no report was submitted:**
214
223
215
224
* look through the log it printed for clues
216
-
* run `stackmuncher view_config` and check the output in`reports` folder - there should be at least 4 files:
225
+
* run `stackmuncher config` and check the output in`reports` folder - there should be at least 4 files:
217
226
* _project_report.json_: includes all contributors
218
227
* _combined_report.json_: a combined report for authors/committers from Git's `user.email` setting and from `--emails` param
219
228
* _submitted_report.json_: a sanitized version of the combined report exactly as it was submitted to the Directory
" 2. If you didn't edit {} you can delete it and the app will generate a new one.",
95
95
key_file_path
96
96
);
97
-
eprintln!(" The side effect of that is that the app will also create a new Developer Profile for you.");
98
-
eprintln!(" If you think you lost your original key, just delete the file and contact us on [email protected] to link your existing Developer Profile to the new key.");
97
+
eprintln!(" The side effect of that is that the app will also create a new Directory Profile for you.");
98
+
eprintln!(" If you think you lost your original key, just delete the file and contact us on [email protected] to link your existing Directory Profile to the new key.");
99
99
eprintln!(" We apologize for not automating this step yet.");
100
100
eprintln!();
101
101
}
@@ -201,7 +201,7 @@ OPTIONS:
201
201
202
202
MORE INFO:
203
203
204
-
stackmuncher{exe_suffix} config prints URLs of your Developer Profile and other configuration details
204
+
stackmuncher{exe_suffix} config prints URLs of your Directory Profile and other configuration details
205
205
206
206
https://stackmuncher.com/about about the Directory
207
207
https://github.com/stackmuncher source code, issues and more
0 commit comments