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
Update to v0.8.5. Add check for ENV variable to fix corrupt data
If the `DCLI_FIX_DATA` environment variable is set to `TRUE` then when corrupt or missing data is returned from the Bungie API, and there is not a valid local version, DCLI will attempt to retrieve updated, non-corrupt data from Bungie. (This sometimes happens if a lot of people leave a game, and no player names will be returned from the server).
Setting this to true can significantly slow down sync time, especially the initial sync, and in general, is meant to be used when using DCLI to create datastores for larger applications.
Copy file name to clipboardExpand all lines: README.md
+26-21Lines changed: 26 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,28 +7,28 @@ dcli (Destiny Command Line Interface) is a collection of utilities and apps that
7
7
8
8
If you run into any issues, have any ideas, or just want to chat, please post in [issues](https://github.com/mikechambers/dcli/issues) or share on [Discord](https://discord.gg/2Y8bV2Mq3p)
9
9
10
-
11
10
## Apps
12
11
13
12
### Utilities
14
-
| TOOL | DESCRIPTION |
15
-
| --- | --- |
16
-
|[dclim](https://github.com/mikechambers/dcli/tree/main/src/dclim)| Manages and syncs the remote Destiny 2 API manifest database |
17
-
|[dclisync](https://github.com/mikechambers/dcli/tree/main/src/dclisync)| Downloads and syncs Destiny 2 Crucible activity history into a local sqlite3 database file |
18
-
|[dclitime](https://github.com/mikechambers/dcli/tree/main/src/dclitime)| Generates date / time stamps for Destiny 2 weekly event moments |
|[dclim](https://github.com/mikechambers/dcli/tree/main/src/dclim)| Manages and syncs the remote Destiny 2 API manifest database |
17
+
|[dclisync](https://github.com/mikechambers/dcli/tree/main/src/dclisync)| Downloads and syncs Destiny 2 Crucible activity history into a local sqlite3 database file |
18
+
|[dclitime](https://github.com/mikechambers/dcli/tree/main/src/dclitime)| Generates date / time stamps for Destiny 2 weekly event moments |
20
19
21
20
### Apps
22
-
| TOOL | DESCRIPTION |
23
-
| --- | --- |
24
-
|[dclia](https://github.com/mikechambers/dcli/tree/main/src/dclia)| Displays information on player's current activity within Destiny 2 |
25
-
|[dcliah](https://github.com/mikechambers/dcli/tree/main/src/dcliah)| Displays Destiny 2 activity history and stats |
26
-
|[dcliad](https://github.com/mikechambers/dcli/tree/main/src/dcliad)| Displays Destiny 2 Crucible activity / match details |
|[dcli](https://github.com/mikechambers/dcli/tree/main/src/dcli)| Library used across all of the dcli apps |
33
33
34
34
Each tool page contains additional tool specific information and usage examples.
@@ -55,7 +55,6 @@ If you are running on Mac, make sure to [read this article](https://github.com/m
55
55
56
56
Before viewing your stats you need to first sync the manifest (which contains information about weapons, maps, etc...).
57
57
58
-
59
58
### Download the manifest
60
59
61
60
You can download the latest Destiny 2 manifest database using dclim. This contains information about all of the items and activities in Destiny 2, and is updated periodically.
@@ -73,7 +72,7 @@ and the manifest file will be downloaded and saved in a system appropriate direc
73
72
Next, lets sync all of our activity history to a local database and view data. This data will be used by other apps, such as dcliah to generate and display stats.
74
73
75
74
```
76
-
$ dcliah --name mesh#3230
75
+
$ dcliah --name mesh#3230
77
76
```
78
77
79
78
Replacing mesh#3230 with your own Bungie name.
@@ -106,15 +105,15 @@ These can be useful on their own, but where they can be really powerful is when
106
105
107
106
There are a couple of examples in the [examples directory](https://github.com/mikechambers/dcli/tree/main/examples):
108
107
109
-
* Send a notification when you load into a new activity (particularly useful when playing crucible so you can see which map you are loading into)
110
-
* Automatically generate weekly reports on your Crucible stats and email them to yourself
111
-
* Track your Crucible stats per game play session
108
+
- Send a notification when you load into a new activity (particularly useful when playing crucible so you can see which map you are loading into)
109
+
- Automatically generate weekly reports on your Crucible stats and email them to yourself
110
+
- Track your Crucible stats per game play session
112
111
113
112
As you can see, right now, a lot of the functionality is Crucible based. If you would like to see other functionality, make sure you requests it in the [issues](https://github.com/mikechambers/dcli/issues), or [Discord](https://discord.gg/2Y8bV2Mq3p).
114
113
115
114
### Learning More
116
115
117
-
At anytime, you can see which arguments and options are avaliable by passing the *--help* argument:
116
+
At anytime, you can see which arguments and options are avaliable by passing the _--help_ argument:
118
117
119
118
```
120
119
$ dcliah --help
@@ -128,6 +127,12 @@ If you have any questions, feature requests, need help, or just want to chat, jo
128
127
129
128
You can also log bugs and features requests on the [issues page](https://github.com/mikechambers/dcli/issues).
130
129
130
+
### Environment Variables
131
+
132
+
If the `DCLI_FIX_DATA` environment variable is set to `TRUE` then when corrupt or missing data is returned from the Bungie API, and there is not a valid local version, DCLI will attempt to retrieve updated, non-corrupt data from Bungie. (This sometimes happens if a lot of people leave a game, and no player names will be returned from the server).
133
+
134
+
Setting this to true can significantly slow down sync time, especially the initial sync, and in general, is meant to be used when using DCLI to create datastores for larger applications.
135
+
131
136
## Compiling
132
137
133
138
Tools are written and compiled in [Rust](https://www.rust-lang.org/). The 1.50.0 rust version is required, which can be installed and set via:
@@ -147,11 +152,11 @@ To compile, switch to the `src/` directory and run:
147
152
$ cargo build --release
148
153
```
149
154
150
-
which will place the compiled tools in *src/target/release*
155
+
which will place the compiled tools in _src/target/release_
151
156
152
157
## Known Issues
153
158
154
-
* Tied matches are not displayed correctly, and are treated as a Victory.
159
+
- Tied matches are not displayed correctly, and are treated as a Victory.
Copy file name to clipboardExpand all lines: RELEASE.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,9 @@
1
1
# dcli Release Notes
2
2
3
+
## v0.8.5 August 7, 2022
4
+
5
+
- Improved how corrupted data from Bungie is handled. Now, if data is corrupted, we check for existing data before updating. If the DCLI_FIX_DATA environment variable is set to true, then if there is not already a local, non-corrupt version of the data, we will go back to Bungie to retrieve updated data. Note, this can significantly slow down initial syncs.
6
+
3
7
## v0.8.4 August 1, 2022
4
8
5
9
- Fixed data parsing error that could occur due to wrong data type in code
0 commit comments