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
|`--new`| bool | Default: 'true'. If 'true', will import only the newest release data. Set to 'false' to import archive data for all releases |
81
+
|`--release`| string | Format: `boost-1.63.0`. If passed, will import Archive urls for only that release. Overrides --new |
82
82
83
83
**More Information**
84
84
85
-
- Loops through `Version` objects and calls the task that retrieves the Archives data with the version information
85
+
- Loops through `Version` objects, by default only the most recent one, and calls the task that retrieves the Archives data with the version information
86
86
- Saves the Archives JSON data as `VersionFile` objects
87
87
88
-
89
-
## `import_artifactory_release_data`
90
-
91
-
*This process was run automatically as part of `import_versions`, but has been replaced by `import_archives_release_data`.*
|`--release`| string | Format: `boost-1.63.0`. If passed, will import Artifactory urls for only that version. |
106
-
107
-
**More Information**
108
-
109
-
- Loops through `Version` objects and calls the task that retrieves the Artifactory data with the version information
110
-
- Saves the Artifactory data as `VersionFile` objects
111
-
112
-
113
88
## `update_libraries`
114
89
115
90
**Purpose**: Import and update `Library` and `Category` objects. Runs the library update script, which cycles through the repos listed in the Boost library and syncs their information. Most library information comes from `meta/libraries.json` stored in each Boost library repo.
@@ -138,14 +113,15 @@ Import `VersionFile` objects from Artifactory.
|`--token`| string | GitHub API Token. If passed, will use this value. If not passed, will use the value in settings. |
144
119
|`--release`| string | Format: `boost-1.63.0`. If passed, will import Artifactory urls for only that version. Partial versions are accepted (so "1.7" will import libraries for version 1.70.0, 1.71.0, etc.) |
120
+
|`--new`| bool | Default: 'true'. If 'true', will import data for the newest release. Set to 'false' to import library version data for all releases |
145
121
146
122
**Process**
147
123
148
-
- Loops through `Version` objects based on passed-in options
124
+
- Loops through `Version` objects based on passed-in options, by default just the most recent one.
149
125
- For each `Version`, gets the libraries in that release from the `.gitmodules` file using the GitHub API
150
126
- For each library listed in the `.gitmodules` file, get the complete list of libraries from the library's `meta/libraries.json` file (in its GitHub repo) using the GitHub API. (A single library repo might contain information for multiple libraries. Example: Functional also hosts Functional/Factory).
0 commit comments