viklikesfic: "There are only two mistakes one can make along the road to truth: not going all the way and not starting" (productive buddha)viklikesfic ([personal profile] viklikesfic) wrote in [site community profile] dw_dev_training,
@ 2011-10-01 07:45 pm UTC
  • Previous Entry
  • Add to Memories
  • Tell someone about this!
  • Next Entry
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.


(Read 13 comments) - (Post a new comment)
(Flat) (Top-level comments only)

ninetydegrees: Drawing: a girl's pale face, with a yellow and green stripe over her right eye (stripe)


[personal profile] ninetydegrees
2011-10-02 06:51 am UTC (link)
I think it's in /cgi-bin/LJ/Event/AddedToCircle.pm but I'm not sure. You can see the current file at the repo: http://hg.dwscoalition.org/dw-free/file/8664015de23e/cgi-bin/LJ/Event/AddedToCircle.pm.

(Reply to this)  (Thread


pauamma: Cartooney crab holding drink ("Cartooney crab holding drink")


[personal profile] pauamma
2011-10-02 04:29 pm UTC (link)
That's correct, and http://wiki.dwscoalition.org/notes/ESN#Events now has a description of the methods in that class they'd need to change. (To the OP: don't worry if you didn't find it when you searched, I saw your question and added it.)

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

(Reply to this)  (Thread from start)  (Parent)  (Thread


ninetydegrees: Drawing: a girl's pale face, with a yellow and green stripe over her right eye (stripe)


[personal profile] ninetydegrees
2011-10-02 05:31 pm UTC (link)
Oh, thanks Pau. I've always wondered how you could get such a link. Is there somewhere you can click to get it or is it a 'trick' one needs to know?

(Reply to this)  (Thread from start)  (Parent)  (Thread


viklikesfic: avatar me w/ trans flag, spiky hair, gender unclear, fun punky glasses & sarcastic expression to go w/purple ironic halo (vik default)


[personal profile] viklikesfic
2011-10-02 05:33 pm UTC (link)
Awesome, thank you both! And that addition is very helpful :-)

(Reply to this)  (Thread from start)  (Parent


pauamma: Cartooney crab holding drink ("Cartooney crab holding drink")


[personal profile] pauamma
2011-10-02 05:55 pm UTC (link)
The latter, I'm afraid. At least, I've never seen a "click for latest version" link anywhere.

(Reply to this)  (Thread from start)  (Parent)  (Thread


ninetydegrees: Drawing: a girl's pale face, with a yellow and green stripe over her right eye (stripe)


[personal profile] ninetydegrees
2011-10-02 05:56 pm UTC (link)
Too bad. Thanks again for telling me then! :)

(Reply to this)  (Thread from start)  (Parent


azurelunatic: cameo-like portrait of <user name="azurelunatic"> in short blue hair.  (_support, cameo)


[personal profile] azurelunatic
2011-10-03 09:31 am UTC (link)
Do we have this tip documented?

(Reply to this)  (Thread from start)  (Parent)  (Thread


pauamma: Cartooney crab holding drink ("Cartooney crab holding drink")


[personal profile] pauamma
2011-10-03 12:56 pm UTC (link)
Not really. I don't think one use in http://wiki.dwscoalition.org/notes/Dev_Version_Control#Checking_out_the_code qualifies as "documenting it". http://mercurial.selenic.com/wiki/TipsAndTricks#Create_links_to_snapshots_of_files_and_tarballs is probably a good starting point, but use "file" instead of "raw-file". ("file" gives you navigating chrome, "raw-file" is just the file's content.)

(Reply to this)  (Thread from start)  (Parent



(Read 13 comments) - (Post a new comment)
(Flat) (Top-level comments only)