Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ jobs:
- run: pnpm lint:hbs
- run: pnpm lint:js
- run: pnpm lint:deps
- run: pnpm prettier:check

frontend-test:
name: Frontend / Test
Expand Down
3 changes: 1 addition & 2 deletions crates_io_cdn_logs/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
crates_io_cdn_logs
===============================================================================
# crates_io_cdn_logs

This package contains code to parse the log files from the crates.io CDNs
(AWS CloudFront and Fastly) and to count how often crates/versions are
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
"lint:hbs": "ember-template-lint app",
"lint:js": "eslint . --cache",
"precompress": "node ./script/precompress-assets.mjs",
"prettier": "prettier --write package.json '**/*.js' '**/*.mjs' '**/*.md'",
"prettier:check": "prettier --check package.json '**/*.js' '**/*.mjs' '**/*.md'",
"prettier:write": "prettier --write package.json '**/*.js' '**/*.mjs' '**/*.md'",
"start": "ember serve",
"start:live": "PROXY_BACKEND=https://crates.io ember serve",
"start:local": "PROXY_BACKEND=http://127.0.0.1:8888 ember serve",
Expand Down
6 changes: 3 additions & 3 deletions src/worker/jobs/dump_db/readme_for_tarball.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ This is a dump of the public information in the crates.io database.

## Less Obvious Database Fields

* `crate_owners.owner_kind` - if `0`, the crate owner is a user; if `1`, the crate owner is a team. (If another value, you should probably contact the crates.io team.)
* `crate_owners.owner_id` - if the owner is a user, this is their ID in `users.id`, otherwise it's the ID in `teams.id`.
* `teams.login` - this will look something like `github:foo:bar`, referring to the `bar` team in the `foo` organisation. At present, as we only support GitHub, the first component will always be `github`.
- `crate_owners.owner_kind` - if `0`, the crate owner is a user; if `1`, the crate owner is a team. (If another value, you should probably contact the crates.io team.)
- `crate_owners.owner_id` - if the owner is a user, this is their ID in `users.id`, otherwise it's the ID in `teams.id`.
- `teams.login` - this will look something like `github:foo:bar`, referring to the `bar` team in the `foo` organisation. At present, as we only support GitHub, the first component will always be `github`.

## Restoring to a Local crates.io Database

Expand Down