Skip to content

Organizing code to refactory labels#16

Merged
byjg merged 5 commits intodokkufrom
refactory-labels
Aug 14, 2022
Merged

Organizing code to refactory labels#16
byjg merged 5 commits intodokkufrom
refactory-labels

Conversation

@byjg
Copy link
Copy Markdown
Owner

@byjg byjg commented Aug 12, 2022

This PR inverts the label pattern.

we have

  • easyhaproxy.[property].[definition]

And it will become:

  • easyhaproxy.[definition].[property]

@byjg byjg marked this pull request as ready for review August 12, 2022 02:05
@josegonzalez
Copy link
Copy Markdown
Contributor

Could definitions be dynamic now that they are basically dictionaries? Basically, is easyhaproxy.definitions necessary still?

@byjg
Copy link
Copy Markdown
Owner Author

byjg commented Aug 12, 2022

Yeah, I thought that too. It becomes unnecessary, but it will involve some refactory. Let me think, 99% sure I'll remove it, I just need to see how to implement it in the code.

@byjg
Copy link
Copy Markdown
Owner Author

byjg commented Aug 12, 2022

I found a way to implement the definitions dynamically. So, there Is no need to use easyhaproxy.definitions anymore.

@josegonzalez
Copy link
Copy Markdown
Contributor

This is great! I can probably include this in the next dokku release if this and the other mr are merged this weekend or sometime Monday :)

@byjg byjg mentioned this pull request Aug 13, 2022
@byjg byjg merged commit 4ede25e into dokku Aug 14, 2022
@byjg byjg deleted the refactory-labels branch August 14, 2022 15:26
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.

2 participants