Comments

DamienMcKenna’s picture

Title: 7.x-1.0 release » Plan for Redirect v7.x-1.0 release
kscheirer’s picture

Priority: Normal » Major

The lack of a point release causes this module to have a "This project is not covered by Drupal’s security advisory policy." warning at the top of the project page. Considering there are almost 200k reported installs, this now seems like a major issue.

I'm not sure any of the child issues are required for a 1.0 release - seems like there's enough users already to justify a 1.0. We could move any important issues back to a 2.0 release if needed.

mpotter’s picture

I agree on this. Some clients have security policies, and the new warning at the top of module pages have made the lack of security coverage more obvious to clients. This is a major module and needs to opt-in to security coverage and roll a 1.0 release. It's been years since the rc3.

Going to go close some dup issues for this now.

Chris Matthews’s picture

Is anyone able to provide an update re: the full 7.x-1.0 release? 7.x-1.0-rc3 was released in July 2015 and since then there have been a lot of commits on 7.x-1.x-dev.

nironan’s picture

+1! The current recommended version is over 3 years old, and dev contains a lot of important fixes...

lukedekker’s picture

@Chris Matthews Looping back to this. The current public opinion is that #1853144: Store created date/time is to be closed as a duplicate of #1396446: Redirects deleted too early which contains the patch from Store Created date/time as a part of a critical fix for redirect cleanup logic.

solideogloria’s picture

Could we at least get another release candidate released? It's been several years, and #1263884: Avoid redirect field and form injection on entities that have a path but where this makes no sense (like comments) still hasn't been in a release yet, even though it's been fixed for a while.

Also, how does one create nice issue links that are formatted like in the comment before mine?

kscheirer’s picture

you format it like [ # 1263884 ] without the spaces

Chris Matthews’s picture

Pinging this thread to see if there are any committers following. If so, is there any chance 7.x-1.0 (or at least -rc4) could be tagged in the near future? 7.x is not dead, yet :)

solideogloria’s picture

I would prefer having a release in the meantime, since there are still a bunch of Needs Review child issues.

euk’s picture

Support the above.
Please, release -1.0 or -rc4.

euk’s picture

I just applied patches from all "Needs review" child issues on top of 7.x-1.x-dev - all seems to be working fine.
Two things though:
- I did not test #1899174: Automatically create a redirect when a file is saved with a new URI
- Patch #2074647: Re-add support for the global redirect for entity viewing seems to not have any effect whatsoever on a fresh install.

pifagor’s picture

euk’s picture

@pifagor, I am not following. -rc4 is overdue. Some of the fixes are quite old.

Chris Matthews’s picture

Priority: Major » Critical

@pifagor, if you haven't already, can you contact Dave Reid and/or contact Sascha Grossenbacher to see if we can get some movement on this issue? Thanks!

pifagor’s picture

Hello. I did it.

Chris Matthews’s picture

Thanks, IMO D7 still has a lot of "life" left in it so hopefully D7 redirect will get some attention soon.

ciss’s picture

Imo #3095724: Mismatch between install and update schema needs to be resolved as well before a new release can be created.

pifagor’s picture

Hello.
https://www.drupal.org/project/redirect/issues/2804737#comment-13276875

It should also be noted that I do not have access to edit the module version (https://www.drupal.org/node/3287/edit/releases). @Dave Reid can implement this.

DamienMcKenna’s picture

@pifagor: You have the "administer releases" permission, are you not able to create a new tag and then create a new release from the tag?

Chris Matthews’s picture

Below is a list of the issues fixed on 7.x-1.x-dev since 7.x-1.0-rc3 was released on July 8, 2015.

Would everyone be OK with releasing -rc4 with all of these commits before a full 7.x-1.0 release?

After -rc4 is released then we can target the open 7.x-1.x-dev issue that are blockers to the full release.

One other question is...how are the 7.x-1.x and 7.x-2-x branches similar / different? Should the primary focus be the 1.x or 2.x branch?

#1768530: Use autocomplete if Multi-path autocomplete (mpac.module) is available (and list it in the "Recommended Modules" section on the project page).
#1961530: redirect_cron() expiration isn't scalable
#2541304: update 7101 failing
#2574593: Wrong watchdog parameters
#2790205: Provide option to disable deletion of redirects by source path
#2820766: Vulnerability: redirect_goto() leads to the blank page due to translation flow
#2843258: Implement support for entity_language function
#2057615: Increase size of source field to hold long URLs
#1525554: Provide instructions in the README.txt
#2604418: Recognize 'status' field in redirect views
#1116408: Support migrate module: Destination handler class
#2828083: Fields 'redirect_options', 'source_options' should be BLOB not TEXT
#1817764: Does not work with more than 2 query parameters
#1712062: Translatable string review
#2595199: Remove message "action cannot be undone" when bulk Disabling/Enabling redirects
#2789203: 404 fix pages needs domain filter
#1551224: redirect url with string that includes /? strips / upon save
#2211279: Alterable redirect_load_by_source db_select
#2194099: Create database index on the redirect column
#1301594: Provide add-redirect command for drush

pifagor’s picture

@pifagor: You have the "administer releases" permission, are you not able to create a new tag and then create a new release from the tag?

I can create a tag, but I can't add new release for the module because I don't have access "update project".
https://www.drupal.org/project/redirect/maintainers.json
This access has @Berdir and @Dave Reid

DamienMcKenna’s picture

@pifagor: Maybe try again? Per the project's maintainers list you have "administer releases", and the docs say:

Administer releases
Allows a user to create and update releases, and to control which branches are recommended or supported.

solideogloria’s picture

One other question is...how are the 7.x-1.x and 7.x-2-x branches similar / different? Should the primary focus be the 1.x or 2.x branch?

I ran git diff origin/7.x-1.x origin/7.x-2.x, and there is no difference.

pifagor’s picture

@DamienMcKenna
Sorry, yes, I can add a new release. Thank you for your attention.

pifagor’s picture

One other question is...how are the 7.x-1.x and 7.x-2-x branches similar / different? Should the primary focus be the 1.x or 2.x branch?

For v7.x-1.0 We should use 7.x-1.x.
And 7.x-2.x we leave for the next v7.x-2.0.

Chris Matthews’s picture

Cool, so what's the plan for the 1.x branch?

Release 7.x-1.0-rc4 based on current -dev? Or, try to get some other key issues fixed before -rc4? If so, which ones?

After -rc4, what issues are blockers to a full 7.x-1.0 release (that actually have a chance of getting committed, unlike issue #905914: Merge global redirect functions into Redirect module)

pifagor’s picture

Release 7.x-1.0-rc4 based on current -dev?

- yes

try to get some other key issues fixed before -rc4?

- no, this should be left to the next stage, with a clear test plan

Chris Matthews’s picture

And 7.x-2.x we leave for the next v7.x-2.0.

I'm not 100% sure what you mean as there has yet to be a tagged release for the 2.x branch. Which brings up the question, when should the 2.x branch become the recommended release instead of the 1.x branch?

pifagor’s picture

when should the 2.x branch become the recommended release instead of the 1.x branch?

There is no answer to this question right now. I suggested using branches according to the name release

solideogloria’s picture

As previously stated, 1.x and 2.x are currently the same. No difference has yet been added to the 2.x branch. I would recommend removing the 2.x branch until it is needed.

Chris Matthews’s picture

@pifagor, can you advise when 7.x-1.0-rc4 might be released?

pifagor’s picture

Status: Active » Needs review

Hello @Chris Matthews.

I propose now to intensively test the branch "7.x-1.x". With maximum community involvement.
And if everything is ok then on February 9, I will be creating a new release "7.x-1.0-rc4" from branch "7.x-1.x"

andralex’s picture

Status: Needs review » Active

I've reviewed the branch "7.x-1.x" and it looks ready to go to release "7.x-1.0-rc4".

andralex’s picture

Status: Active » Reviewed & tested by the community
ciss’s picture

Status: Reviewed & tested by the community » Needs review

Setting back to "Needs review" so that we can gather feedback from additional reviewers.

@andralex Can you please add some details about the aspects that you tested/reviewed? There have been some major changes, and (in my opinion) a simple "works for me" isn't sufficient in this case.

Tolyan4ik’s picture

pifagor’s picture

Dear @Chris Matthews, @solideogloria

Did you do the final testing?

jimmyko’s picture

I've reviewed the branch 7.x-1.x

Here is what I've reviewd:

1. coding standard - Looks good and glad to see that the label text, readme and code comment are well corrected.
2. basic functions - I tested the basic functions on simplytest.me, including redirect creations and different options.
3. test running - I run the test once and seems all passed.

I didn't test the drush command, will do if I got time later.

Chris Matthews’s picture

@pifagor, I've been running 7.x-1.x-dev in production for about 2 weeks and have not come across any issues.

pifagor’s picture

Hello everyone.
If there are no comments from the community, we will soon make a new tag.

solideogloria’s picture

@pifagor I tried the basic functionality that I use (adding/using/deleting redirects), and it seems to work fine. I did notice a couple coding standards things on my own and using PHP Intelliphense:

1. redirects.view -- should this file be a .php file or something? I don't know what a .view file is.

2. redirect.admin.inc calls redirect_build_filter_query($query, array('w.message'), $keys);. I get the following error from Intelliphense:

Expected type 'QueryAlterableInterface'. Found 'QueryExtendableInterface'.

So maybe redirect_build_filter_query should have a different parameter type hint?

3. redirect.install

// Limit the number of characters used by the index.
// That allows avoiding the risk to have a PDOException
// caused the DB index limitations of some databases.

Should this be caused by DB index limitations?

andralex’s picture

As for me, the listed issues in the last comment doesn't break Drupal coding standards. Here is a separate issue for coding standards https://www.drupal.org/project/redirect/issues/2850121. So let's move the listed findings into that.

solideogloria’s picture

I copied my comment there.

solideogloria’s picture

Status: Needs review » Reviewed & tested by the community

I've been using 7.x-1.0-rc3+38-dev for quite a while now with no issues.

Dave Reid’s picture

7.x-1.0-rc4 has been tagged and released.

Kristen Pol’s picture

Assigned: Unassigned » Kristen Pol

Assigning to myself as I'm triaging all RTBC issues.

Kristen Pol’s picture

Given where we are relative to D7EOL, I'm not sure how many people still want a 1.0 release. Please chime in, if so.

So far, there are no changes merged since rc4, but that doesn't mean there won't be in the coming months.

I've reviewed all the issues above to see what is still not closed and here's the list:

Needs review:

#1396446: Redirects deleted too early
#1899174: Automatically create a redirect when a file is saved with a new URI
#2118419: Redirect does many unecessary entity_load() when having many redirects with query strings
#2476067: Code to workaround core issue, now fixed, should probably be removed from redirect

Needs work:

#2074647: Re-add support for the global redirect for entity viewing

Postponed:

#905914: Merge global redirect functions into Redirect module

Kristen Pol’s picture

Assigned: Kristen Pol » Unassigned

Unassigning for now.

Kristen Pol’s picture

Status: Reviewed & tested by the community » Active

Moving back to Active given rc4 is out and this issue is for 1.0.

steinmb’s picture

+ 1 I guess quite a few of us is going to have D7 around until at least jan 2025 and beyond as we are working through backlogs getting sites to D10/11. I am mostly worried for PHP comparability against newer versions of PHP as PHP 7.x is EOL and infrastructure is getting upgraded around us.