Review Board 2.0.15


Main: Create long talked about output-conference-paper option.

Review Request #516 - Created Feb. 26, 2011 and discarded

Information
Ali Saidi
gem5
default
Reviewers
Default
ali, gblack, nate, stever
Main: Create long talked about output-conference-paper option.

   
Posted (Feb. 26, 2011, 6:25 a.m.)
Yeah, lets not. I don't think those users will get or appreciate an inside joke at their expense, and we risk insulting other users by insinuating we expected to need to tell them that.
Ship it!
Posted (Feb. 26, 2011, 9:09 a.m.)
Perhaps we should make this the top of --help.  How about this as an alternate implementation for --output-conference-paper

import os
import urllib
import webbrowser

try:
    import pwd
    uname = os.getlogin()
    pw = pwd.getpwnam(uname)
    user = pw.pw_gecos.split(',')[0]
except:
    user = "M5 User"

user = urllib.quote_plus(user)

print user

url = "http://apps.pdos.lcs.mit.edu/cgi-bin/scigen.cgi?author=%s"
webbrowser.open(url % user)
  1. oops.  Remove the "print user"