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

rename peggy to gravity #278

Merged
merged 15 commits into from Mar 24, 2021
Merged

rename peggy to gravity #278

merged 15 commits into from Mar 24, 2021

Conversation

tac0turtle
Copy link
Member

No description provided.

Copy link
Collaborator

@fedekunze fedekunze left a comment

Choose a reason for hiding this comment

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

utACK

@tac0turtle
Copy link
Member Author

will clean this up

@tac0turtle tac0turtle marked this pull request as ready for review March 24, 2021 18:27
@lgtm-com
Copy link

lgtm-com bot commented Mar 24, 2021

This pull request introduces 1 alert and fixes 1 when merging b58110e into fd98d20 - view on LGTM.com

new alerts:

  • 1 for Useless assignment to local variable

fixed alerts:

  • 1 for Useless assignment to local variable

@fedekunze fedekunze merged commit 32074c2 into main Mar 24, 2021
@fedekunze fedekunze deleted the marko/rename_gravity branch March 24, 2021 20:58
@lgtm-com
Copy link

lgtm-com bot commented Mar 24, 2021

This pull request fixes 1 alert when merging 2f403b7 into fd98d20 - view on LGTM.com

fixed alerts:

  • 1 for Useless assignment to local variable

@jkilpatr
Copy link
Contributor

jkilpatr commented Mar 25, 2021

I will be reverting this change it doesn't work at all. All the tests are failing, etc

@tac0turtle
Copy link
Member Author

which part doesnt work? We can spend sometime fixing the tests instead of reverting.

@jkilpatr
Copy link
Contributor

jkilpatr commented Mar 25, 2021

Message scopes need to be fixed in the orchestrator (gravity/MsgWhatever versus peggy/MsgWhatever), I don't think there's too much more to do. But we have no idea if there is because the tests are just obviously broken, you can't just merge a patch this big and not even look at the tests.

We have no idea if this works all up and 'merge it and make it work after' is not an acceptable coding practice.

@tac0turtle
Copy link
Member Author

tac0turtle commented Mar 25, 2021

Message scopes need to be fixed in the orchestrator (gravity/MsgWhatever versus peggy/MsgWhatever), I don't think there's too much more to do. But we have no idea if there is because the tests are just obviously broken, you can't just merge a patch this big and not even look at the tests.

We have no idea if this works all up and 'merge it and make it work after' is not an acceptable coding practice.

I'll set some ci restrictions to avoid this in the future. No need to revert. No need to bring up bad coding practice. This repo is not setup correctly, and we are all trying our best to instill best practices

@tac0turtle
Copy link
Member Author

Message scopes need to be fixed in the orchestrator (gravity/MsgWhatever versus peggy/MsgWhatever),

I can't find this any messages with peggy/Msg*. These were changed.

@jkilpatr
Copy link
Contributor

jkilpatr commented Mar 25, 2021

I'll set some ci restrictions to avoid this in the future. No need to revert. No need to bring coding practice. This repo is not setup correctly, and we are all trying our best to instill best practices

The tests still have some flake issues (although those have been greatly reduce recently) and the darn arbitrary logic test needs a repo secret that's not avaialble to outside PRs (so it will always fail if someone external opens a PR).

My opinion on CI design after being a CI engineer for a couple of years is that it must always be up to engineers to look at the output and understand it and the managers to hold their reports responsible for not doing so. Trying to run greenlight / redlight CI systems was just a mess at scale.

Message scopes need to be fixed in the orchestrator (gravity/MsgWhatever versus peggy/MsgWhatever),

I can't find this any messages with peggy/Msg*. These were changed.

I see that now. With the obvious out of the way that means there's some more subtle bug.

Oh the rust code was renamed but the folders where not. Lets see where fixing that gets us.

@tac0turtle
Copy link
Member Author

working on that now 👍 Noticed that after trying to run cargo build a few times 😆

@tac0turtle
Copy link
Member Author

@jkilpatr
Copy link
Contributor

jkilpatr commented Mar 25, 2021

I think I've got it. There's one trick to it. The proto regen, which should be in a readme somewhere.

@jkilpatr
Copy link
Contributor

jkilpatr commented Mar 25, 2021

there was also no renaming in the solidity directory. so everything over there needs to be done.

Looks like just renaming Peggy.json to Gravity.json works

@jkilpatr
Copy link
Contributor

There we go looks like this is resolved. I'll rebase the rest of the PRs this morning. You did a good job with this pr @marbar3778 it just needed a little more attention to get everything working.

Just pm'ing me that you wanted this merged would have been enough to get my attention and this fixed up.

If we had been unlucky and some unexpected problem was waiting in the wings this could have borked main for days or weeks. Putting us in a bad spot between reverting and losing work and having anything that works at all. Considering we are all actively running testnets this isn't acceptable.

I know things are running behind schedule here and it does take me time to get to PRs and help explain how some of the other Gravity components work. But we're all professionals here, I don't think we need to hide the merge button like we would from a child. It's reasonable to expect everyone to be conscientious and capable.

@tac0turtle
Copy link
Member Author

Just pm'ing me that you wanted this merged would have been enough to get my attention and this fixed up.

Sorry about that. Tried to set up the bot to request the needed people, may not have worked correctly. Will ping you in tg next time 😄

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

3 participants