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

The srsRAN Project's new repo name breaks download checksums #275

Closed
tad4 opened this issue Apr 22, 2023 · 1 comment
Closed

The srsRAN Project's new repo name breaks download checksums #275

tad4 opened this issue Apr 22, 2023 · 1 comment

Comments

@tad4
Copy link

tad4 commented Apr 22, 2023

Dear @michaellarabel:

The srsRAN repo hosted on GitHub was recently renamed to srsRAN_4G;

  • Changing the repo name has changed the root folder name GitHub uses when serving downloads for releases.
  • As a result, downloads of source code releases for srsran-1.x test profiles will fail to pass PTS' checksum verification.

One potential fix for this issue would be to reresh the download checksums in the srsran-1.x profiles. Please let me know how you'd like to proceed on this issue.

Steps to reproduce

# Backup download cache (if present)
mkdir "${HOME}/.phoronix-test-suite/download-cache/srsRAN-release-backup"
mv "${HOME}/.phoronix-test-suite/download-cache/srsRAN-release_*.tar.gz" "${HOME}/.phoronix-test-suite/download-cache/srsRAN-release-backup"

# Backup previous downloads (if any)
mv "${HOME}/.phoronix-test-suite/installed-tests/pts/srsran-1.0.1/srsRAN-release_21_04.tar.gz" "${HOME}/.phoronix-test-suite/installed-tests/pts/srsran-1.0.1/srsRAN-release_21_04.tar.gz.bak"
mv "${HOME}/.phoronix-test-suite/installed-tests/pts/srsran-1.1.0/srsRAN-release_21_10.tar.gz" "${HOME}/.phoronix-test-suite/installed-tests/pts/srsran-1.1.0/srsRAN-release_21_10.tar.gz.bak"
mv "${HOME}/.phoronix-test-suite/installed-tests/pts/srsran-1.2.0/srsRAN-release_22_04_1.tar.gz" "${HOME}/.phoronix-test-suite/installed-tests/pts/srsran-1.2.0/srsRAN-release_22_04_1.tar.gz.bak"

phoronix-test-suite force-install srsran-1.0.1 srsran-1.1.0 srsran-1.2.0

What changed in the download files?

Changing the GitHub repo name from srsRAN to srsRAN_4G changes the root folder name used by GitHub when serving source code archive files on the project's release page—e.g., the root file folder of the tar'ed source code for release 22.04.1 changes from /srsRAN-release_22_04_1 to /srsRAN_4G-release_22_04_1.

  • URLs that use the old repo name are redirected by GitHub.
  • Checksum of downloads are different as folder names in the archive files has changed.
@tad4
Copy link
Author

tad4 commented Apr 29, 2023

Finally had time to implement changes that reflect the upstream repo name change. Please see #280. Ty!

@tad4 tad4 closed this as completed Apr 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant