-
Notifications
You must be signed in to change notification settings - Fork 161
Conversation
Are you working on this? I'm about to dig into #352 ([WIP] [RFC] Implement Packagist-style module add process) but I don't want to waste my time if someone else is already doing it |
Hi.. This is only another proposal to fix the problem.. This is very easy.. I don't know.. :) No problem for me I close this PR.. |
Hi! I reopen this PR because in my opinion this is a good hotfix to resolve (in a first moment) the Module Load problem.. :) When the @adamlundrigan feature well be ready we can replace it with new flow! :) Thanks for your work! |
@gianarb needs a rebase 馃槂 |
Ready! :) Thanks @ins0.. Now into "My Modules" step return all my repositories and if you try to load a |
@gianarb if the check is removed from the list will the repository still checked on the // edit never mind it does 馃憤 |
Yes in this moment this check (isModule) run for each repositories when we call list and after submit the single module.. In this PR I remove the first check.. The list comprises all my repositories (not only module) but works :) |
Hang on, I missed something! |
Looks good to me in order mitigate the API rate limit problem for now, since we still have the check when adding modules, see right here: Care to review? |
@@ -328,15 +315,8 @@ public function testOrganizationActionRendersValidModulesOnly() | |||
; | |||
|
|||
$moduleService |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this mock actually needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only to assert that ZfModule\Service\Module::isModule()
is never called!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, but that's not critical to this particular test, so it should just be skipped
Yes in my opinion this is only a first fix, maybe in the future we can implement #352 |
@Ocramius @localheinz have you news about this PR? |
This commit resend isModule check only after submit repository
I think this can go in - but since I contributed here, I'd prefer you to have a look and merge! |
It is a go indeed |
List of repositories from Github
Hi! This proposal is not a resolution of all problems but in this moment I think that there are only one target..
We make zf.modules usable..
Login, submit repos in the first step.. This proposal tries to "resolve" the rate limit problem.
See
With this PR the list of repos is inconsistente because there are a lot of repos wrong (not zf2 modules).. But works and if you try to submit a wrong repo exists a check for that 馃槃
Now there are already problem if i try to submit a good module I have this expection
Statement could not be executed (23000 - 1048 - Column 'module_id' cannot be null)
But I don't remember the story of the
module_id
馃搯This isn't the final resolution :)