(Sorry for cross-posting from Security and Privacy, but it's nearly the weekend here and there were no responses over there so I thought I would try in the dev forum).
I'm curious how everyone grabs security patches if JIRA returns PERMISSION VIOLATION messages for security tickets (which means the handy "version control" tab with links off to viewvc are not available).
For example, what CVS commands would I use to grab the three distinct patches for MSA-09-011?
Unfortunately, upgrading to the latest point release is not an option where I work.
Thanks,
Brian
In reply to Brian Jorgensen
Re: tracker "permission violation" and security patches
by Brian Jorgensen -
Petr responded to the original post by suggesting that following the point releases really is the best idea, but generating patches should be possible:
Having very little git experience, I would appreciate any advice from git users on how to use git to generate these patch files?
Thanks,
Brian
"search for MDL-xx numbers in moodle git repository somehow"
Having very little git experience, I would appreciate any advice from git users on how to use git to generate these patch files?
Thanks,
Brian
In reply to Brian Jorgensen
Re: tracker "permission violation" and security patches
by Hubert Chathi -
The search on git.moodle.org doesn't seem to be working very well, but searching through the logs in my local copy yields:
MDL-18058:
MDL-18059:
MDL-17365:
MDL-18058:
MDL-18059:
MDL-17365:
- http://git.moodle.org/gw?p=moodle.git;a=commit;h=eada690a18f017eb747ccfd8fb50d502740a2463
- http://git.moodle.org/gw?p=moodle.git;a=commit;h=cc84c1aba05c254a4ef2a45eb838bdd84f5b635b
- http://git.moodle.org/gw?p=moodle.git;a=commit;h=62c7a8c799c23c8604b6e045c2ffd23f5dd40e54
- http://git.moodle.org/gw?p=moodle.git;a=commit;h=0b174abec7d561f77ca14db4dff619776d9f081a
In reply to Hubert Chathi
Re: tracker "permission violation" and security patches
by Hubert Chathi -
I also wrote a perl script, to which you give a bug number, or series of bug numbers and it writes out formatted patches for you:
http://docs.moodle.org/en/Development:Git_tips#Backporting_stuff_from_cvshead_to_stable_git_branches
It says, "backporting stuff from cvshead" but really it's just a general script that searches the logs and writes you out git-format-patch formatted patches
http://docs.moodle.org/en/Development:Git_tips#Backporting_stuff_from_cvshead_to_stable_git_branches
It says, "backporting stuff from cvshead" but really it's just a general script that searches the logs and writes you out git-format-patch formatted patches