Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify the git-import tool to only import the links field #6330

Merged
merged 1 commit into from
Apr 14, 2023

Conversation

arlosi
Copy link
Contributor

@arlosi arlosi commented Apr 13, 2023

The git-import tool was used for importing the checksum, package, and links fields from the index into the database. During that import some of the links fields were after the import was interrupted and then re-started.

This changes the git-import admin tool to only import the links field. Running the tool should be relatively quick (takes < 1 minute locally).

This is the expected output:

edited 1 rows for cyclonedds-sys#0.1.7
edited 1 rows for gaviota-sys#0.1.20
edited 1 rows for jl-sys#0.18.0
edited 1 rows for lean-sys#0.0.2
edited 1 rows for libgphoto2_sys#2.5.10
edited 1 rows for libgphoto2_sys#1.0.0
edited 1 rows for libgphoto2_sys#1.0.1
edited 1 rows for libvpx-native-sys#5.0.7
edited 1 rows for link-cplusplus#1.0.7
edited 1 rows for magic-sys#0.3.0
edited 1 rows for mc-sgx-dcap-ql-sys#0.1.0
edited 1 rows for mc-sgx-dcap-quoteverify-sys#0.1.0
edited 1 rows for mc-sgx-dcap-tvl-sys#0.1.0
edited 1 rows for mc-sgx-tcrypto-sys#0.1.0
edited 1 rows for mc-sgx-trts-sys#0.1.0
edited 1 rows for mc-sgx-tservice-sys#0.1.0
edited 1 rows for mc-sgx-tstdc-sys#0.1.0
edited 1 rows for mc-sgx-urts-sys#0.1.0
edited 1 rows for mozjpeg-sys#1.0.3
edited 1 rows for oqs-sys#0.7.2
edited 1 rows for rb-sys#0.9.30
edited 1 rows for rust-hdl-ok-frontpanel-sys#0.3.0
edited 1 rows for rust-hdl-ok-frontpanel-sys#0.4.0
edited 1 rows for rust-hdl-ok-frontpanel-sys#0.5.0
edited 1 rows for rust-lirc-client-sys#0.1.0
edited 1 rows for stereokit-sys#1.0.3
edited 1 rows for tensorflow-sys#0.22.0
edited 1 rows for wasi-common#0.40.0
edited 1 rows for wasmtime-fiber#0.40.0

Copy link
Member

@Turbo87 Turbo87 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@Turbo87 Turbo87 added C-internal 🔧 Category: Nonessential work that would make the codebase more consistent or clear A-backend ⚙️ labels Apr 14, 2023
@Turbo87 Turbo87 enabled auto-merge (squash) April 14, 2023 12:29
@Turbo87 Turbo87 merged commit 2e58c24 into rust-lang:master Apr 14, 2023
@Turbo87
Copy link
Member

Turbo87 commented Apr 14, 2023

edited 1 rows for cyclonedds-sys#0.1.7
edited 1 rows for gaviota-sys#0.1.20
edited 1 rows for jl-sys#0.18.0
edited 1 rows for lean-sys#0.0.2
edited 1 rows for libgphoto2_sys#2.5.10
edited 1 rows for libgphoto2_sys#1.0.0
edited 1 rows for libgphoto2_sys#1.0.1
edited 1 rows for libvpx-native-sys#5.0.7
edited 1 rows for link-cplusplus#1.0.7
edited 1 rows for magic-sys#0.3.0
edited 1 rows for mc-sgx-dcap-ql-sys#0.1.0
edited 1 rows for mc-sgx-dcap-quoteverify-sys#0.1.0
edited 1 rows for mc-sgx-dcap-tvl-sys#0.1.0
edited 1 rows for mc-sgx-tcrypto-sys#0.1.0
edited 1 rows for mc-sgx-trts-sys#0.1.0
edited 1 rows for mc-sgx-tservice-sys#0.1.0
edited 1 rows for mc-sgx-tstdc-sys#0.1.0
edited 1 rows for mc-sgx-urts-sys#0.1.0
edited 1 rows for mozjpeg-sys#1.0.3
edited 1 rows for oqs-sys#0.7.2
edited 1 rows for rb-sys#0.9.30
edited 1 rows for rust-hdl-ok-frontpanel-sys#0.3.0
edited 1 rows for rust-hdl-ok-frontpanel-sys#0.4.0
edited 1 rows for rust-hdl-ok-frontpanel-sys#0.5.0
edited 1 rows for rust-lirc-client-sys#0.1.0
edited 1 rows for stereokit-sys#1.0.3
edited 1 rows for tensorflow-sys#0.22.0
edited 1 rows for wasi-common#0.40.0
edited 1 rows for wasmtime-fiber#0.40.0
completed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-backend ⚙️ C-internal 🔧 Category: Nonessential work that would make the codebase more consistent or clear
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants