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

first iteration - split more internal utilities out of the main package file #101

Closed

Conversation

RonnyPfannschmidt
Copy link
Member

No description provided.

Copy link
Contributor

@goodboy goodboy left a comment

Choose a reason for hiding this comment

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

Looks good to me @RonnyPfannschmidt.
I like that we're finally breaking up that monster module ;)

@RonnyPfannschmidt
Copy link
Member Author

please dont approve before i even started ^^

@RonnyPfannschmidt
Copy link
Member Author

the next step will be to put everything into underscored modules and simplify the locations/dependencies

afterwards i hope to optimize details using cython

@goodboy
Copy link
Contributor

goodboy commented Nov 16, 2017

@RonnyPfannschmidt ahh sorry didn't realize you weren't looking for feedback. Normally I don't put up a PR until I'm looking for review ;)

Sounds good though. I'd be happy to help with the cython stuff if you're looking for help 👍

@RonnyPfannschmidt
Copy link
Member Author

@tgoodlet main reason i put a wip in there ^^ - i just want to try more transparency ^^

@RonnyPfannschmidt
Copy link
Member Author

plus travis shows me errors i missed

@goodboy
Copy link
Contributor

goodboy commented Nov 16, 2017

Cool sounds good!

@goodboy
Copy link
Contributor

goodboy commented Nov 16, 2017

@RonnyPfannschmidt would be good to know when you're done though because there's going to be a bunch of merge conflicts now for the stuff I've been working on.

@RonnyPfannschmidt
Copy link
Member Author

@tgoodlet in case of doubt its on me to merge that ^^ - i suspect i will need until after the weekend

@goodboy
Copy link
Contributor

goodboy commented Nov 16, 2017

@RonnyPfannschmidt nope looks good to me. I trust our CI and as long as you didn't actually change any of the implementation (which looks like you didn't) then I'd say this is good to go.

I'd actually rather get this in sooner then later so I can move forward with other stuff.
It's PyCon Canada this weekend so I'll be in the spirit to get some of our outstanding issues complete.

@RonnyPfannschmidt
Copy link
Member Author

@tgoodlet in that case lets take a look at merging this, but restructuring it anyway later (some things need to be suffled

in that case lets do this one soon, and i#ll follow up with more after your conference to minimize conflicting changes

@RonnyPfannschmidt RonnyPfannschmidt changed the title [wip] split more internal utilities out of the main package file first iteration - split more internal utilities out of the main package file Nov 16, 2017
@goodboy
Copy link
Contributor

goodboy commented Nov 16, 2017

@RonnyPfannschmidt only thing I was thinking is that we'll lose history for each code segment which is kind of annoying. I guess there's not much way around it though.

Do you think the history should be squashed or you want to keep the separate commits?

@nicoddemus
Copy link
Member

into underscored modules

Shouldn't we do this right away on this PR?

@@ -0,0 +1,293 @@
from . import _tracing
Copy link
Member

Choose a reason for hiding this comment

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

Do we want to name our modules twonames or two_names? I ask because we have parse_funcs and now pluginmanager.

FWIW I prefer two_names as I find it easier to read. Either way we should choose a convention.

Copy link
Member Author

Choose a reason for hiding this comment

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

thamks for that note, i#l ltry to incooperate it today

Copy link
Contributor

Choose a reason for hiding this comment

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

What about just manager.py?

@goodboy
Copy link
Contributor

goodboy commented Nov 24, 2017

@RonnyPfannschmidt I think this will need a rebase to get in the latest changes.

@@ -0,0 +1,66 @@
import inspect
Copy link
Contributor

Choose a reason for hiding this comment

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

I was actually thinking maybe just make this a utils.py mod since it's only got the one function and we might later want a place to add miscellaneous stuff.

Copy link
Member Author

Choose a reason for hiding this comment

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

in general - having a utils module/package is a antipattern ^^ - its just a utterly bad name because it caries no meaning

@goodboy
Copy link
Contributor

goodboy commented Jan 8, 2018

Closing in favour of #117.

@goodboy goodboy closed this Jan 8, 2018
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.

3 participants