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
* bump up version code
* bring back installer script guide in README.md
* docs: update README.md to mention install.sh env vars
* added new install.sh env vars to agents.sh
* Feat/telemetry (#39)
* add no-telemetry cli flag and toml config flag. read and call telemetry if false
* send analytics in telemetry.Send
* added telemetry message
* read/write telemetry.json file
* fixed cli-flags test
* added tests for telemetry
* docs: updated changelog
* docs: added telemetry to README.md
* removed debug prints
* send telemetry in CI
* use NoTelemetry instead of Debug in cli-flag test
* fix no-telemetry flag name
* fix: send erro when not nil
* fix test error
* send ci to analytics
* docs: updated changelog
* docs: added 1.3.8 release notes
* added 1.3.8-alpha release notes to 1.3.8
* fix typos, handle error state
The easiest way to install `reposcan`. Detects your OS and architecture automatically and installs the latest release binary into a directory on your `$PATH`:
38
+
39
+
```sh
40
+
curl -fsSL https://raw.githubusercontent.com/mabd-dev/reposcan/main/install.sh | sh
41
+
```
42
+
43
+
Supports **linux/amd64**, **darwin/amd64**, and **darwin/arm64**.
44
+
45
+
46
+
#### Install environment variables
47
+
48
+
| env vars | Required | Default | Description |
49
+
|---|---|---|---|
50
+
|`VERSION`| false | latest | download a specific version |
51
+
|`ALIAS`| false | reposcan | specify binary name |
52
+
53
+
```sh
54
+
# with version
55
+
curl -fsSL https://raw.githubusercontent.com/mabd-dev/reposcan/main/install.sh | VERSION=v1.3.8 sh
56
+
```
57
+
58
+
```sh
59
+
# with alias
60
+
curl -fsSL https://raw.githubusercontent.com/mabd-dev/reposcan/main/install.sh | ALIAS=reposcan sh
61
+
```
62
+
63
+
```sh
64
+
# with both
65
+
curl -fsSL https://raw.githubusercontent.com/mabd-dev/reposcan/main/install.sh | VERSION=v1.3.8 ALIAS=reposcan sh
66
+
```
67
+
68
+
69
+
#### Migrating from `go install`
70
+
71
+
If you previously installed reposcan via `go install`, the binary lives in `$GOPATH/bin` (usually `~/go/bin/reposcan`). The curl installer puts the binary in a different location, so both can coexist silently — meaning the old one may take precedence in your `$PATH`.
72
+
73
+
To avoid this, remove the old binary first:
36
74
37
75
```sh
38
-
go install github.com/mabd-dev/reposcan@latest
76
+
rm "$(which reposcan)"
39
77
```
40
78
41
-
Make sure # $GOPATH/bin (or $HOME/go/bin) is in your $PATH
79
+
Then install using the curl installer:
42
80
81
+
```sh
82
+
curl -fsSL https://raw.githubusercontent.com/mabd-dev/reposcan/main/install.sh | sh
83
+
```
43
84
44
85
### From source
45
86
```sh
@@ -134,5 +175,27 @@ Each step overrides the one before it
134
175
-[ ] Show branches with their states on each repo
135
176
136
177
178
+
## Telemetry
179
+
180
+
reposcan collects anonymous usage data to help understand how the tool is used and improve it over time.
181
+
You'll see a one-time notice about this on first run.
182
+
183
+
What is collected:
184
+
-`os` — operating system (linux, windows, darwin)
185
+
-`arch` — device cpu architecture
186
+
-`tool-version` — tool version being used
187
+
-`ci` — whether the tool is running in a CI environment
188
+
189
+
and other tool specific cli-flags like `filter`, `output_format`, `repo_count`
190
+
191
+
Nothing personal is collected — no usernames, tokens, or file paths.
192
+
Events are sent to a [mixpanel](https://mixpanel.com/home/) (a third-party analytics service) and visible only to the maintainer.
193
+
194
+
195
+
### Disable telemetry
196
+
197
+
Add `--no-telemetry` when running the command. Or in `~/.config/reposcan/config.toml` add `no-telemetry = true` at the top of the file (check [sample.toml](sample/config.toml))
198
+
199
+
137
200
## 🤝 Contributing
138
201
PRs, bug reports, and feature requests are welcome.
0 commit comments