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

[4.4] Update deleted files list in script.php for 4.4.0-alpha1 #40231

Merged

Conversation

richard67
Copy link
Member

@richard67 richard67 commented Mar 29, 2023

Pull Request for Issue # .

Summary of Changes

This pull request (PR) updates the list of files to be deleted on update in file "administrator/components/com_admin/script.php" to recent changes in the 4.4-dev branch in preparation for the first 4.4.0-alpha1 release.

In detail deleted files from following PR's are added:

Testing Instructions

Code review.

Or if you want to make a real test, update a 4.3.0-rc1 or recent 4.3 nightly build to the last 4.4 nightly build to get the actual result, and update a 4.3.0-rc1 or recent 4.3 nightly build to the update package built by Drone for this PR to get the expected result.

Actual result BEFORE applying this Pull Request

The files mentioned above are still present after updating from a 4.3.0-rc1 or recent 4.3 nightly build.

Expected result AFTER applying this Pull Request

The files mentioned above have been deleted after updating from a 4.3.0-rc1 or recent 4.3 nightly build.

Link to documentations

Please select:

  • No documentation changes for docs.joomla.org needed

  • No documentation changes for manual.joomla.org needed

@sandewt
Copy link
Contributor

sandewt commented Mar 30, 2023

I have tested this item ✅ successfully on 7ff03ab

Code review


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/40231.

@richard67
Copy link
Member Author

richard67 commented Mar 30, 2023

I have to add files from #40180 and #40174 either to this PR here or to a future one if this one here gets merged before.

Update: Done.

@sandewt
Copy link
Contributor

sandewt commented Mar 31, 2023

Your instructions are very readable 👍 I will take a look.

@sandewt
Copy link
Contributor

sandewt commented Mar 31, 2023

I have tested this item ✅ successfully on 898e85a


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/40231.

@laoneo
Copy link
Member

laoneo commented Apr 3, 2023

I guess this one should be changed to draft so people are not testing it. It will then be merged before we ship the first alpha.

@richard67
Copy link
Member Author

I guess this one should be changed to draft so people are not testing it. It will then be merged before we ship the first alpha.

@laoneo I would prefer not to wait with merging until just before alpha because people might test the nightly builds, too, which could show us if we make mistakes with that. In the mean time I would check when PR's have been merged and make a new PR when I see there is again a bunch of deleted files.

Of course if my PR's of this kind will be merged anyway by review, I can set it to draft so people don't waste time with testing. On the other hand, a test is never bad.

@sandewt
Copy link
Contributor

sandewt commented Apr 5, 2023

Missing in list, see #40173

'plugins/sampledata/testing/src/Extension/Testing.php'

@richard67
Copy link
Member Author

@sandewt Yes, and others might follow. I have a tool which I run periodically and then update this PR as long as not merged yet. Will maybe later change it to draft status. No need for testing now. But thanks so far.

@sandewt
Copy link
Contributor

sandewt commented Apr 5, 2023

No need for testing now. But thanks so far.

My pleasure, I hear

@richard67 richard67 marked this pull request as draft April 5, 2023 09:45
@richard67
Copy link
Member Author

richard67 commented Apr 5, 2023

@sandewt Ah, sorry, I forgot: The testing sample data plugin is something which we only have in development environments, i.e. git clones. But we don't have that in the regular (alpha or beta or rc or stable releases) installation packages and also not in nightly builds. That's why it will not go into the list of deleted files and folders, and we will not delete that file on update. So nothing to do for that file "plugins/sampledata/testing/testing.php" from PR #40173 .

@richard67
Copy link
Member Author

@laoneo The PR is still up to date, so if you want I can change it back from draft to ready and you can merge, and the next PR I make after another bunch of merged relevant PRs.

@laoneo laoneo self-assigned this Apr 5, 2023
@richard67 richard67 marked this pull request as ready for review May 1, 2023 11:56
@laoneo laoneo added the Updates Requested Indicates that this pull request needs an update from the author and should not be tested. label May 12, 2023
@richard67
Copy link
Member Author

@laoneo Why have you added the Updates Requested label? I see no change request in any review so that label does not make any sense for this PR.

@laoneo
Copy link
Member

laoneo commented May 12, 2023

Because they need some updates when we merge further prs which remove files. I want to make sure that people are not wasting their time testing these pr's.

@richard67
Copy link
Member Author

Because they need some updates when we merge further prs which remove files. I want to make sure that people are not wasting their time testing these pr's.

@laoneo This is not what thatblabel has been made for. It has been made for PRs where maintainers request changes. Tjisbis not the case here.

@laoneo laoneo removed the Updates Requested Indicates that this pull request needs an update from the author and should not be tested. label May 12, 2023
@laoneo
Copy link
Member

laoneo commented May 12, 2023

I have it removed.

@richard67
Copy link
Member Author

@laoneo Sorry for my possibly too harsh words, I was unnecessarily too upset. I understand what you wanted to achieve with setting that label, and if you insist on it I will put this PR back to draft status. But I think we should not wait with merging it until short before alpha 1, I think we should merge it soon so we and other people can test updating older versions to 4.4-dev nightly builds with the old files of plugins and modules being removed at the update so we can see if we have issues with that on particular environments.

@brianteeman
Copy link
Contributor

@richard67 If anythng the files should be added to the scrript with the pr to ensure there is no delay. like they used to be

@laoneo
Copy link
Member

laoneo commented May 13, 2023

I would wait till the last plugin conversions are merged. @MacJoom is on it. And then we can merge this one.

@richard67
Copy link
Member Author

@laoneo This PR here is ready and up to date.

@laoneo laoneo added this to the Joomla! 4.4.0 milestone May 23, 2023
@laoneo laoneo merged commit deab947 into joomla:4.4-dev May 23, 2023
@laoneo
Copy link
Member

laoneo commented May 23, 2023

Thanks!

@richard67 richard67 deleted the 4.4-dev-deleted-files-and-folders-2023-03-29 branch May 23, 2023 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants