tracker "permission violation" and security patches

tracker "permission violation" and security patches

by Brian Jorgensen -
Number of replies: 4
(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
Average of ratings: -
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:

"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 Hubert Chathi

Re: tracker "permission violation" and security patches

by Hubert Chathi -
By the way, you could also use cvsps, or something similar, to get something similar to git's log for CVS. (In fact, git's CVS import uses cvsps.)
In reply to Hubert Chathi

Re: tracker "permission violation" and security patches

by Penny Leach -
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 smile