This repository was archived by the owner on Aug 2, 2022. It is now read-only.
Repository navigation
Reverting some libs - #9453
Merged
Merged
Reverting some libs#9453
Conversation
Contributor
Author
|
This PR is failing the checks because of the submodule revert check. This isn't an issue and is only caused because of the issues mentioned in the description. |
allenhan2
approved these changes
Aug 28, 2020
allenhan2
left a comment
Contributor
There was a problem hiding this comment.
see /tmp/eos_copy has the latest commits as in develop branch
Contributor
Author
Thanks for your evaluation @allenhan2. |
jeffreyssmith2nd
approved these changes
Aug 28, 2020
Contributor
|
Note I had to add a trailing |
Contributor
Author
Thanks @heifner, yeah that will cause it to fail. I am updating the description to have the trailing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Change Description
Previously we had un-submodularized some libraries. This became apparent that this was a misstep and needs to be reverted back to the way it was.
We currently have quite a few external clients of these libraries so when we patch we need to create the same commits against the repo, and this is a non-trivial task now. It also leads to a lot of issues when checking out
developfrom other branches such asmaster, and currently any of therelease/*branches. The way that these libraries were carried over lost the git history before the point of un-submodularization. Because of these issues, I am making this PR to help get us back on track with this.This will cause issues if you have tasks that are currently changing files in
fc,chainbaseorappbase. To resolve this a couple of scripts are going to be provided below. These scripts will copy your repo filter based on which branch your changes are at and which library your changes are in ('fc', 'chainbase' or 'appbase'). It will then do agit logso you can find the commit that is the one directly before your commits start. It will then ask for that commit and construct a set of patches to be applied. The second script should be called from within the repo of question ('fc', 'chainbase', or 'appbase') and checked out to the branch you want. This will apply those patches previously made and clean up the copy that was made. You should now have all of your commits in the repo and no longer stuck in the library in eos.If you are navigating between branches or commits and you run into issues checking out into the previous 'un-submodularized' zone then you will need to remove the directories
libraries/fc libraries/chainbase libraries/appbase.These scripts are a quick effort to give engineers some degree of automation of migrating back, but these are not designed to be robust and will not do much checking. Meaning that it will have to used in the ways described above.
git-fixup-a.sh
git-fixup-b.sh
Change Type
Select ONE
Consensus Changes
API Changes
Documentation Additions