-
Notifications
You must be signed in to change notification settings - Fork 291
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
Code Quality: Refactor code and make it more modern #1815
base: main
Are you sure you want to change the base?
Conversation
Apparently more necessary than I thought 😳
This comment was marked as outdated.
This comment was marked as outdated.
Can you explain what the purpose of this change is? |
There was a duplicate entry for the NuGet Gallery server, and the name for MyGet was wrong. |
I guess I'm wondering why MyGet was kept in lieu of NuGet |
The NuGet Gallery server is automatically enabled as a global package source in Visual Studio. Having it inside the nuget.config file would cause it to be duplicated. |
Essentially I think it would be best for IronPython to follow a similar structure as the .NET Runtime and Files:
|
This is why I hate submodules.. |
NB IronPython already supports it since the interpreter engine and the standard library are distributed in separate NuGet packages. |
Absolutely no change whatsoever
I don't understand why the tests are failing 🫤
|
doesn't make a difference 😕
This path isn't specified anywhere, and the source code literally directs the tests to |
This one maybe? |
A few comments: Test issue: public TestManifest(Type parent) {
- var file = parent.Assembly.GetManifestResourceStream($"IronPythonTest.Cases.{parent.Name}Manifest.ini");
+ var file = parent.Assembly.GetManifestResourceStream($"IronPython.Tests.Cases.{parent.Name}Manifest.ini"); There's a bunch of files which had their perms altered from 100755 → 100644 (like
Not a fan of the
Otherwise it feels like it's almost there. Unfortunately I still can't review with GH because of the 3k file limit. Maybe we could split it up into smaller PRs, for example one with the non- |
I've been gone from work on this project for a while to focus on other things. Back soon! |
Will there be jumpstart for Ironclad3? |
Not in this PR |
I have no idea how to fix this issue
I'll do |
git update-index --chmod=+x script.sh Any objections to my trying to do some of the refactoring changes outside of this PR? |
Sure! |
I created a branch where I moved folders (using Here are the moves I performed (on Linux so I could change the casing):
Which results in this top level directory tree:
I did not rename the executables since I do not really like the proposed names. The two options that come to mind would be:
I'll do the fixing up of stuff to get things building as a PR on top of the refactor branch just so it's clear what's being modified. @Lamparter @BCSharp If you have any thoughts or objections to the proposed structure please let me know and I can tweak the branch. Once we're happy with the core restructuring I'll merge and additional changes that this PR proposes (such as adding sub-READMEs) can hopefully be done then. |
Wow, that looks amazing
The root namespace IronPython.* should definitely be enforced, and matching the project name to that is also standard. (the product assembly can be whatever though)
|
I like the proposed structure. About the I am a little bit confused about |
Good catch, I did not intend to have the extra level. Will fix it right now. |
Just a quick note. I will look at project name changes once we're happy with the final folder structure and things are building properly in #1880. |
Hello (again again)!
In this PR I've done the following:
Run Code Cleanup on the project - remove unnecessary using directives, format documents, etc.Run special advanced code cleanupSort out.editorconfig
...and various other changes that I will add here soon