| Rajab Natshah |
The only needed action on this is to "Activate Automated testing" from the project settings.Project owners and maintainers can activate thatSo that that we can build more automated testing and be able to run them with DrupalCI. |
| Rajab Natshah |
More MR/PR will follow in-development branches |
| Rajab Natshah |
I remember @chrisfromredfin said that we need to list all the testing scenarios. |
| chrisfromredfin |
I'm setting this up here - does anyone know what I should choose for "Schedule" - I'm thinking "on commit and for issues" ? |
| chrisfromredfin |
image.png |
| chrisfromredfin |
FWIW that's what I chose and I think I've done this successfully; build / tests fail tho |
| Rajab Natshah |
Run on commit and for issues |
| Rajab Natshah |
For sure we can manage to have a green build for a patch or MR/PR |
| Rajab Natshah |
The patch in the issue should pass green |
| Rajab Natshah |
I will run a retest for the patch |
| Rajab Natshah |
1.0.x: PHP 7.4 & MySQL 8, D9.3 Queueing |
| Rajab Natshah |
You can see a video for how the test worked in my local ( attached in the issue too ) |
| Rajab Natshah |
In the last 2 weeks, I managed to learn more about the drupalci.ymlWe could do anything like what you can see in this drupalci.yml file |
| Rajab Natshah |
Thank you @chrisfromredfin for activating the automated testing :pray: |
| chrisfromredfin |
:thumbsup: |
| bsnodgrass (he/him) |
I like "Highlighted" but can we add other qualifiers to that such as "Stable, active, supported, ??"I'm concerned just a single title for this thing seems like it would not translate well for many people. |
| thejimbirch |
I added as options:HighlightedFeaturedWordPress has the following: |
| mandclu |
Has there been a decision on what criteria will be used to determine the list? |
| mandclu |
If they're really the most popular (based on usage) the tab could be called "Popular" |
| bsnodgrass (he/him) |
there is this @mandclu #3240314: Decide on algorithm for "recommended" modules |
| mandclu |
OK so it still sounds as though the default sort will be based on the number of installs. I like "Popular", though it doesn't necessarily convey that the list is also pre-filtered, potentially based on things like stability, being maintained, etc |
| Rajab Natshah |
Maybe Relevant tooIt feels like each tab is a selection for an algorithm ( Main Filtering option ) |
| Rajab Natshah |
Relevant: Relevant to this site |
| Ron Northcutt |
Reposted from SB comment above:FWIW - I think that “recommended” and “highlighted” both convey a sense that they are promoted in some way. On the other hand, “suggested” seems a bit less promotional.Then the question is “why are these suggested?“, and the answer (which could be in a tooltip or description) is that these suggestions are based on the current site and the configured filter options. Then we can have a link to change the suggestion settings |
| bsnodgrass (he/him) |
I really like the Why are these suggested tooltip idea! that would give people a much better understanding |
| Ron Northcutt |
and possibly a link to modify the settings :smile: |
| tedbow |
whenever someone wants to start working on this ping me and I can help. No rush, I just don’t know the stage y’all are at and don’t want to duplicate efforts on this part |
| leslieg |
Thanks @tedbow @chrisfromredfin isn’t here yet but I’m sure he’s get in touch with you to discuss. Does anyone else here want to be involved in that conversation? |
| bsnodgrass (he/him) |
Great... for those in the know on the technical details, have we solved the filtering issue for project dependencies for the site project browser is installed on? I seem to remember the data didn't get there by itself... or am I mistaken? |
| tedbow |
for “project dependencies” do mean the dependencies of the modules the browser will install? package_manager will install all dependencies if that helps |
| mandclu |
I'd be happy to help with this |
| tedbow |
@mandclu great! let me look at module again and see if we should move stuff into the package_manager sub-module. you could use it as is but you would probably end up duplicating a lot of our code (edited) |
| gaurav.kapoor |
I'd be happy to help as well. Will explore the API/Service provided by Package Manager module and figure out how we can integrate with Project Browser. Not sure about how much time I'll be able to give here, if not with actual implementation, I can help with reviewing and testing. |
| Rajab Natshah |
Package Manager @tedbowIt feels like a lex and parser case. With a small script format to work withrequireremoveIt could work on bulk or single requestthe Project Browser .. could work as the UIand the Package Manager .. could work as the executor processer. (edited) |
| Rajab Natshah |
They may use the standard automatic_updates script |
| Rajab Natshah |
Worked on a custom Automatic Updater on a format like update-config.json |
| tedbow |
right now our package_manager module is thin wrapper around https://github.com/php-tuf/composer-stagerbecause our various reasons the updates need to staged first and then copied over in quick operations so the composer command is never directly run on the site. I think project_browser will need this functionality too.i think there will other similarities too but our module is not engineered to for that right now. I am making an issue for this |
| tedbow |
I am not sure about remove . will project browser also handle removing modules from the codebase? i.e. composer remove ? (edited) |
| Rajab Natshah |
I got the point now .. They should work to gather and speak the same API languageproject_browser ( The UI )automatic_updates ( Automatic executor)package_manager ( Manual executor ) |
| Rajab Natshah |
Same as you. Not very sure about composer remove . let us leave that for nowOk thencomposer requirecomposer update or composer smart-update |
| tedbow |
more likeproject_browser (install UI)automatic_updates (update UI - MVP only for core )pacakge_manager ( performs actually composer commands)so automatic_updates may be badly name because it will provide updates via cron and form to manually perform the updates |
| Rajab Natshah |
Thank you @tedbow. for clearing .. In the past years, we had to manage that using custom logic.Now seems that we have to switch and join the new standard Drupal Core of doing thisI like all from php-tufDrupal 10+ will be better managed on that. |
| chrisfromredfin |
FWIW I definitely think this is the right architecture, both modules depend on package_manager as @tedbow deescribes. Maybe someday we'll worry about composer remove but I think that's definitely a phase II thing (since we could just uninstall the module from UI for a near-comparable experience). |
| chrisfromredfin |
Filed issue for this here: #3245770: Create a service to composer install via package_manager from Automatic Updates -- cc @mandclu |
Rajab Natshah, chrisfromredfin, gaurav.kapoor, Ron Northcutt, bsnodgrass (he/him), thejimbirch, mandclu, tim, leslieg, tedbow
Comments
Comment #11
chrisfromredfinComment #12
chrisfromredfin