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

Removing read of knowledge repo config file off default branch of master #571

Closed
wants to merge 1 commit into from
Closed

Conversation

e-m-albright
Copy link

@e-m-albright e-m-albright commented Jul 1, 2020

Fixes #569

Description of changeset:

It looks like you're reading the state of the config file of the knowledge repo off of the target branch which is hardcoded to default as master before there's any room to update the preference of what branch to use.

As a simple fix perhaps it's best to read the state of the config for the knowledge repo of whatever the active branch is instead? This alleviates the breakage when there is no master branch to check the file out from in the git of the knowledge repo.

Test Plan:

Tried pytest, tried bash run_tests.sh, neither worked. I'm not sure if the issues are environmental and I should be using another tool to aid with them.

Would love to know how to help further! Figure this is at least a good starting point to help me learn more about your systems.

@bulam
Copy link
Collaborator

bulam commented Jul 10, 2020

Thanks for the contribution! Will take a look when I get a chance :)

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.

Bug in support for non-master default branches for repos
2 participants