viklikesfic (
viklikesfic) wrote in
dw_dev_training2011-10-01 07:45 pm
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
![[site community profile]](https://www.dreamwidth.org/img/comm_staff.png)
What's Old Is New Again: How to Understand the Code Structure?
I'm kind of terrified that this question has been asked and I'm going to have bananas thrown at me, but I couldn't find it and I'm feeling discouraged on my second try at the great hulking thing which is Understanding Dreamwidth Development. So if this is repetitive, please point me at the appropriate post and pardon me.
I assigned myself a minor effort bug that looked do-able, namely a request to add a give access link to the e-mail that goes out when a new person has subscribed to you. The problem is, I can't for the life of me find the code that deals with e-mail notifications. I tried the trick that's described in the wiki where you can search for a term, but I didn't find what I was looking for. Nor was I able to browse the code. So I'm pretty stuck. Would anyone be willing to at least give me a directory to start from for looking for this file? Once I find it, I feel pretty comfortable I can handle the coding end. I'm just so used to downloading entire sites to my machine via FTP, editing in TextWrangler, and re-uploading to the server that this Terminal/nano thing has me spooked.
I assigned myself a minor effort bug that looked do-able, namely a request to add a give access link to the e-mail that goes out when a new person has subscribed to you. The problem is, I can't for the life of me find the code that deals with e-mail notifications. I tried the trick that's described in the wiki where you can search for a term, but I didn't find what I was looking for. Nor was I able to browse the code. So I'm pretty stuck. Would anyone be willing to at least give me a directory to start from for looking for this file? Once I find it, I feel pretty comfortable I can handle the coding end. I'm just so used to downloading entire sites to my machine via FTP, editing in TextWrangler, and re-uploading to the server that this Terminal/nano thing has me spooked.
no subject
Now, what is the minor bug you are looking at? We will help you!
no subject
It's Bug 3903.
no subject
You'll need a program that's capable of doing SFTP for it to work; plain FTP won't work. There's a chance that your FTP program might support SFTP, however; take a look and see if there's an option for it!
[edit: Forgot to say - you'll still need to use the Terminal for *some* things, like starting/stopping Apache, updating the Dreamhack, and making patches, but editing files can be done using TextWrangler if you so prefer. :D]
no subject
no subject
no subject
no subject
One thing, though: a link such as the one you gave points to a specific version of the file, which is usually not what you want. To point to the latest version committed, use "tip" instead of the version ID: http://hg.dwscoalition.org/dw-free/file/tip/cgi-bin/LJ/Event/AddedToCircle.pm
no subject
no subject
no subject
no subject
no subject
no subject