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

Roll back merge of ExcelCompiler and Spreadsheet objects #226

Open
bradbase opened this issue Aug 15, 2019 · 4 comments
Open

Roll back merge of ExcelCompiler and Spreadsheet objects #226

bradbase opened this issue Aug 15, 2019 · 4 comments
Labels

Comments

@bradbase
Copy link

@danielsjf @brianmay, Do you mind if we roll back the merger of ExcelCompiler into Spreadsheet?

It's not possible for us to merge those objects while keeping existing functionality (which I rely upon) without a major re-write of Koala -- including major architecture changes -- all in one hit.

If you see that merger as imperative, please let me know.

@danielsjf
Copy link
Collaborator

@bradbase I have been absent for a while so I haven't had much time to look into your changes. I don't have a strong opinion on this to be honest. I did like the simplification, but if it breaks things it should be fixed. Concretely you propose to roll back #187, but it could be that this also impacts #189 and #191. I'm not sure the last two are fundamental to the roll back and so if possible I would propose to keep those two intact.

To aid the discussion, could you explain shortly which changes of this merger exactly impact your issues in recreating the old behaviour? Maybe it would be good to create a kind of test for your old behaviour. This would help me to understand the issues more precisely.

@brianmay
Copy link
Collaborator

Unfortunately, I work for a consulting company, and I haven't had time to revisit this library in some time. I have no problem with rolling back, although there should be some sort of plan for for moving forward. Which we have not been good at keeping. Maybe:

  1. Roll back this change.
  2. Make a new release that is entirely backward compatible.
  3. Drop Python 2.7 tests.
  4. Redo this merger of ExcelCompiler into Spreadsheet.
  5. Increment major version.
  6. Update documentation. State this is only for Python 3.x and may require changes due to merger.
  7. Release.

@danielsjf danielsjf added the MAJOR label Sep 4, 2019
@ensemble-devices
Copy link

@danielsjf apologies for this very late comment, but I've just noticed that Spreadsheet object appears to have two methods called clean_pointer - its original, plus the one which may have been copied in from ExcelCompiler.

@bradbase
Copy link
Author

bradbase commented Jul 5, 2020

@ensemble-devices From memory there are a handful of "duplicate" methods (methods with the same name which appear to share the same intent). Some are in the same object, others are in different objects. Often they have similar implementations but are rarely exact copies.

I tried to clean things up and ended up starting a new project https://github.com/bradbase/xlcalculator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants