CVS edit link for Tim_O

Hello :)

I have been submitting patch-files to different projects issues for a while now. I then attempted to implement chess-playing using the chess module (http://drupal.org/project/chess), which has only initially been ported to D6. As development on the module is currently stalled (see #635268: Any further work done? Intentions for release?) and the development snapshot available doesn't allow to play properly yet (certain move is not allowed), I started looking into the code, with the intention to provide a patch as I am used to. But by now I have come up with quite some stuff:
* Castle-Functionality
-- Identifies and allows castle-move (checks that neither piece has been moved before and that there is nothing inbetween)
-- Castle-Undo
* Node-View
-- Display of the board with 44x44 pixel
-- Recent Moves (configurable by admin)
-- Move-/Undo-Form when applicable, the former blocks for these are gone
* Random-Chess-Block
-- the block-display for a chessboard is now available as "random chess game"-block and includes recent moves (configurable by admin)
* Outstanding-Moves-Block
-- show all running games in which the viewer is up for a move
* Last-Move-Highlighting in block- and node-view (via CSS)
* Extension and clean-up of the admin-form
-- moved long texts from title to description
-- added different settings for node vs. block-display, in this renamed the variables (should be ok without "migration"-script - they still start with chess_ and will get deleted by the chess_*-delete within the uninstall?)
* Included a CSS-file
* Included Views-Integration (this is merely tested and probably uncomplete)
* Various changes to make the code more readable (especially Multi-Line-SQLs, added comments but also spaces and stuff) - this was mostly to address my own learning-needs

As things usually are, this is not perfect yet. ToDo's within these changes:
* I haven't implemented the check for the "chess-condition" (i.e. king is in chess, etc.) which is needed to fully decide whether a castle-move is allowed or not. So castle moves are possible now, but may be possible although not allowed according to rules in certain conditions (the other player can still check this though and at least you can make that move now).
* Need to check the access within the random-chess block is according to http://drupal.org/writing-secure-code - I used a loop to load all nodes to check access-rights, I think rewrite_sql does something similar?

Now this is lots of stuff and a patch-file isn't really usefull as I changed so much. Also it's hard to make different patch-files, as these would all depend on each other then. To clarify how to go on I contacted the maintainer (http://drupal.org/user/269963). As I think I understand the whole module by now, I offered to co-maintain the project. This would allow me to prepare for a release version while the maintainer hasn't got the time. In his reply he stated that he likes the idea and that I should get back to him when I have a CVS account. So (you might have guessed) I am here to apply for a CVS account - unfortunately without an issue to link to.

Now as I understood the process, you want to have some code to look into, right? Therefore I will post "my" version of the file together with the additional files (the CSS has no comments, but should be self-explaining on the other hand) as a self-reply here. If you want confirmation by EoinBailey, you will have to contact him, sry for not having done this in an issue.

And last, but not least: Thank you for doing this for us and in particular for taking the time to read all the stuff I am writing ;)

CommentFileSizeAuthor
#4 chess.module-tim.patch52.4 KBTim_O
#1 chess.tgz13.94 KBTim_O

Comments

Tim_O’s picture

StatusFileSize
new13.94 KB

Here the files - I had to put them into an archive (created with "tar cvfz") ... This is based on 6.x-1.x-dev of the module (http://ftp.drupal.org/files/projects/chess-6.x-1.x-dev.tar.gz).

Tim_O’s picture

Status: Postponed (maintainer needs more info) » Needs review

Uh, guess I am supposed to change that status ...

avpaderno’s picture

Why didn't you provide patches for the existing module?

Tim_O’s picture

StatusFileSize
new52.4 KB

kiamlaluno:

Why didn't you provide patches for the existing module?

I wrote:

Now this is lots of stuff and a patch-file isn't really usefull as I changed so much. Also it's hard to make different patch-files, as these would all depend on each other then.

Well, there is a maintainer who is not going to have time to do anything with patchfiles atm it seems. To do different patchfiles, I would need to take the module to its original state after each change to be able to have a different patchfile for the next thing I start working on. And then, I cannot include new files in patches, can I?

But in case that's better for you, enclosed the changes as a patch-file.

vm’s picture

I'd suggest requesting to be a comaintainer of the current module or any module you would like to be involved with.

Tim_O’s picture

As I think I understand the whole module by now, I offered to co-maintain the project

That is, what I am trying to do here :)

vm’s picture

I missed that part sorry in your post. I was looking at the link you posted and I don't see where the request was made publicly to the maintainer him/herself nor where the current maintainer publicly agreed? Which I believe is part of the process. I'm not sure its webmasters, or maintainers responsibility to ask/confirm for you. I'd reopen the issue you postponed and ask the maintainer, at which time you can move that issue to the webmasters queue ?

Kiam will confirm.

Tim_O’s picture

VeryMisunderstood:

I missed that part sorry in your post. I was looking at the link you posted and I don't see where the request was made to the maintainer him/herself nor where the current maintainer publicly agreed?

Oh, I deleted the part where I wrote that this conversation with the maintainer was by e-mail. Sry, my writing was unclear concerning this, after all.

Do I need to get him to write the same as in the e-mail into an issue again or are you going to check back with him? Or shall I point him to this thread so he can repeat his statement here?

vm’s picture

You can point him to this thread. His public approval would certainly aid in moving this forward as you aren't creating a new module and are looking to comaintain and or take over maintainership.

Tim_O’s picture

Status: Needs review » Postponed (maintainer needs more info)

Thanks for the info. Request to EoinBailey sent by his contact form.

EoinBailey’s picture

Yep, I'm the current maintainer, and atm I have no time (final stages of my PhD) for this unfortunately. I will be back, but Tim_O has my support, and I'll add him as a maintainer once he has his CVS account (for that matter, can I add someone before they have a CVS account, I assumed I could not.)

Tim_O’s picture

Status: Postponed (maintainer needs more info) » Needs review

Wow, this is going almost at the pace of talking ;) Thx Eoin and changing status back ...

avpaderno’s picture

Status: Needs review » Fixed

Thank you for your contribution! I am going to update your account.

These are some recommended readings to help with excellent maintainership:

You can find more contributors chatting on the IRC #drupal-contribute channel. So, come hang out and stay involved.
Thank you, also, for your patience with the review process.
Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.

I thank all the dedicated reviewers as well.

Status: Fixed » Closed (fixed)

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

avpaderno’s picture

Component: Miscellaneous » co-maintainer application
Assigned: Unassigned » avpaderno
Issue summary: View changes