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

Fix bugs causing get.py to fail #46

Merged
merged 1 commit into from Feb 22, 2016
Merged

Conversation

usmanatron
Copy link
Member

Running get.py didn't work for a number of reasons:

  1. The json file name was wrong - updated to point to the right file
  2. The oakcli package has it's hash in uppercase; this mae the script thing the hashes were wrong when they were in fact fine. Added appropriate .lower()s
  3. Again with the oakCli package, the regex fails to find a group, causing an exception. I've added some guarding around that area so that, if there isn't a regex match, it carries on without renaming. I think the problem is because the folder in the archive is "0.9.0" - if it had letters at the start we'd be fine!
  4. Added support for .bz2 archives, used by bossac

@usmanatron
Copy link
Member Author

Note: this is a pre-requisite for ISSUE-32 as we use this file to setup our build environment

digistump pushed a commit that referenced this pull request Feb 22, 2016
Fix bugs causing get.py to fail
@digistump digistump merged commit 9855228 into digistump:master Feb 22, 2016
@digistump
Copy link
Collaborator

Thanks - I had never bothered with keeping this up to date since it wasn't used before, great idea to use this to setup the build enviro!

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

Successfully merging this pull request may close these issues.

None yet

2 participants