Skip to content

CodeImport - stop requestor madness#13162

Merged
MarcusDenker merged 2 commits intopharo-project:Pharo12from
privat:code-import-no-requestor
Mar 28, 2023
Merged

CodeImport - stop requestor madness#13162
MarcusDenker merged 2 commits intopharo-project:Pharo12from
privat:code-import-no-requestor

Conversation

@privat
Copy link
Contributor

@privat privat commented Mar 27, 2023

This remove made-up requestors in CodeImport

Tests seems ok (but tests might be lacking).
I also tried to drag-n-drop various .st files with various level of brokenness and things seems working.
In case of syntax error, you get the code error exception. You can close the window (and installation is aborted) or you can proceed, that installs faulty methods. Then you can fix the method on your own time.

@MarcusDenker Is there some use cases I'm missing?

@privat
Copy link
Contributor Author

privat commented Mar 27, 2023

Ouch, I'm not sure what I broke, but I broke it hard.

@privat
Copy link
Contributor Author

privat commented Mar 27, 2023

Retry CI is case of a transient issue

@privat privat closed this Mar 27, 2023
@privat privat reopened this Mar 27, 2023
@MarcusDenker
Copy link
Member

I think this (loading .st files) is the use-case that it is supposed to support. So with tests green this is good to merge

@MarcusDenker
Copy link
Member

@MarcusDenker MarcusDenker added the Status: Need more work The issue is nearly ready. Waiting some last bits. label Mar 28, 2023
@jecisc
Copy link
Member

jecisc commented Mar 28, 2023

I never liked this request or thing. It’s great to see it been removed.

IMO this was complicating the compilation while it was not it’s responsibility

@privat
Copy link
Contributor Author

privat commented Mar 28, 2023

Requestors are bad, the plan is to remove them #12883
There is more in deep details and thought in the blog posts

@privat privat removed the Status: Need more work The issue is nearly ready. Waiting some last bits. label Mar 28, 2023
@MarcusDenker MarcusDenker merged commit c575175 into pharo-project:Pharo12 Mar 28, 2023
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.

Compiler Cleanup: CodeImport should not use fake Requestors to hook into compilation errors

3 participants