I propose that we remove all the features I added, and that are not strictly necessary. This would help in maintaining the code, and in finding bugs in the code.

If we agree on this, and on what we should remove, I will take care of doing this task.

Comments

avpaderno’s picture

As first item to remove, I would propose the Rules file integration.
I will create a new project that will give Rules support to XML sitemap.

avpaderno’s picture

Another candidate could be the code that changes the sitemap priority of some links basing on some conditions.
As there is already a way to allow third-party modules to change the priority of any links that go in the sitemap, that part can be removed from the project code, and placed in a module that is not part of this project at all.

Anonymous’s picture

Status: Active » Postponed

Scope creep for 6.x-1.0-BETA. We have confirmed reports of people having success with the current code. Let's not fix what ain't broke.

Anonymous’s picture

Status: Postponed » Active

Kiam, I thought we agreed to peer review. I don't see a patch in this issue yet you've implemented #2. Please, lets just fix bugs so we can get this sucker out of the door. No more feature creep before the BETA please.

avpaderno’s picture

If I would know what a creep is, I could reply (I am joking :-)).

Actually, I simply removed the features I implemented, and of what I am the only responsible, as there have not been reviews about the real necessity of adding such features (to say the truth, webchick, and Dave expressed their negative opinion).

I would rather cut the code before releasing a beta, but if you see any reasons to postpone the task, then we will do so. Frankly, I don't see how to carry code that is not strictly needed could help on making a beta release.

Anonymous’s picture

I'm not opposed to removing the features before the RC but we really need to get a freeze on to get out a BETA. Then we can discuss the pieces that need to be changed. Offering a patch to apply for review helps the others follow along with those changes even if you decide to commit the change. It also gives an easier means to reverse the patch if necessary.

What else do you think should be removed? Lets discuss it, either here or there. I prefer an issue for each piece so we can track them separately like I've done at #453146: xmlsitemap-6.x-1.0-rc1 Ready, Set, Go. The format gives a nice report to those interested.

avpaderno’s picture

StatusFileSize
new11.89 KB

OK, I try again (the comment I added has been mysteriously blanked).

This is how xmlsitemap_user.module would appear.
I removed the code that changes the priority, and removed the implementation of the bulk operations; like I said, they will be implemented from a new module that is not part of this project.

avpaderno’s picture

Component: Code » xmlsitemap_user.module

I agree. I am changing the report to be specific for a module.

avpaderno’s picture

I also report that I added a new function to xmlsitemap.module (xmlsitemap_api()), which simply returns a string useful for third-party modules to verify the current version of the project code.
I added this function because the modules don't need to know the exact version of the module; it's a similar function that is present in Views modules, with the difference that it's the modules to check for the API version exposed by the project code.

Anonymous’s picture

Title: Removal of not necessary features » Remove unnecessary features from xmlsitemap_user
avpaderno’s picture

StatusFileSize
new5.89 KB

Here comes the patch, updated to the latest commits done (it has been hard to start from the beginning for three times :-)).

Anonymous’s picture

Status: Active » Reviewed & tested by the community

The patch file should be created from the root of the the module directory.

cd mydev/modules/xmlsitemap
cvs diff -up xmlsitemap_user > xmlsitemap_user.patch

Anyway the patch doesn't break http://sample.com/sitemap.xml so it can be committed.

Anonymous’s picture

Status: Reviewed & tested by the community » Needs review

Wait, I didn't test what I thought I was testing.

Anonymous’s picture

Status: Needs review » Reviewed & tested by the community

Now I'm happy.

avpaderno’s picture

Status: Reviewed & tested by the community » Active

The changes have been committed in CVS; now it's time for the .install file.

avpaderno’s picture

StatusFileSize
new2.09 KB

Here comes the... patch.

avpaderno’s picture

Status: Active » Needs review
Anonymous’s picture

Visually this looks good. Does anyone have a method to test the upgrade path? My 5.x have already been upgraded. I don't want to install just to check it but if I must ...

avpaderno’s picture

Status: Needs review » Fixed

The changes have been committed in CVS.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

avpaderno’s picture

Status: Closed (fixed) » Active

This task needs to be re-rolled again.

Anonymous’s picture

Status: Active » Postponed
Issue tags: +release 6.x-1.1
dave reid’s picture

Status: Postponed » Closed (won't fix)

If we haven't gotten to this yet, I doubt we'll ever get to it. Marking as won't fix.