It is currently 12 Sep 2025, 20:03
   
Text Size

Issue 118: Bug Reporting inside Forge lacks checks on Rev

Post MTG Forge Related Programming Questions Here

Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins

Re: Issue 118: Bug Reporting inside Forge lacks checks on Re

Postby Rob Cashwalker » 24 Aug 2011, 18:40

I installed the Windows build of Subversion client, it automatically set the path, and I was able to use the svn command from any folder. But running from eclipse, it was going to exceptions without visible errors. (so I added console println's) I realized that eclipse was still running from before I installed Subversion, so a restart fixed the path error.

Now I finally got the svn rev to show up but I needed to change BuildInfo a bit. It took at least 30 - 40 seconds for svnversion to return, even from a command prompt. While "svnversion src" came back instantly. So I modified the line a bit:(r.9900)
Code: Select all
                String cmd[] = {"svnversion", "src"};
                proc = Runtime.getRuntime().exec(cmd, null, null);

Edit - I just put up r.9901 which fixes all the issues related to the BugzReporter screen and I closed the mantis issues on them.
The Force will be with you, Always.
User avatar
Rob Cashwalker
Programmer
 
Posts: 2167
Joined: 09 Sep 2008, 15:09
Location: New York
Has thanked: 5 times
Been thanked: 40 times

Re: Issue 118: Bug Reporting inside Forge lacks checks on Re

Postby Braids » 24 Aug 2011, 21:42

Rob Cashwalker wrote:I installed the Windows build of Subversion client, it automatically set the path, and I was able to use the svn command from any folder. But running from eclipse, it was going to exceptions without visible errors. (so I added console println's) I realized that eclipse was still running from before I installed Subversion, so a restart fixed the path error.

Now I finally got the svn rev to show up but I needed to change BuildInfo a bit. It took at least 30 - 40 seconds for svnversion to return, even from a command prompt. While "svnversion src" came back instantly. So I modified the line a bit:(r.9900)
Code: Select all
                String cmd[] = {"svnversion", "src"};
                proc = Runtime.getRuntime().exec(cmd, null, null);

Edit - I just put up r.9901 which fixes all the issues related to the BugzReporter screen and I closed the mantis issues on them.
OK, that's cool. src is good enough. nice job! =D>
"That is the dumbest thing I've ever seen." --Rob Cashwalker, regarding Innistrad double-sided cards. One of the first times he and I have ever agreed on something. ;)
User avatar
Braids
Programmer
 
Posts: 556
Joined: 22 Jun 2011, 00:39
Location: Unknown. Hobby: Driving myself and others to constructive madness.
Has thanked: 1 time
Been thanked: 1 time

Re: Issue 118: Bug Reporting inside Forge lacks checks on Re

Postby Braids » 25 Aug 2011, 02:40

Rob Cashwalker wrote:Mind if I remove Git as a potential version?
i'll do that now, but i'm going to create a "detected in Git" tag to replace it first. that way we don't lose history.

edit: i'll go ahead and delete it. i can't search by product version, target version, or fixed in version. :evil:
"That is the dumbest thing I've ever seen." --Rob Cashwalker, regarding Innistrad double-sided cards. One of the first times he and I have ever agreed on something. ;)
User avatar
Braids
Programmer
 
Posts: 556
Joined: 22 Jun 2011, 00:39
Location: Unknown. Hobby: Driving myself and others to constructive madness.
Has thanked: 1 time
Been thanked: 1 time

Re: Issue 118: Bug Reporting inside Forge lacks checks on Re

Postby Braids » 25 Aug 2011, 03:11

i've copied all the Git Rev Detected and Git Rev Fixed fields into notes, so we won't lose any data. i'll delete the Git custom fields now.
edit: Done.
"That is the dumbest thing I've ever seen." --Rob Cashwalker, regarding Innistrad double-sided cards. One of the first times he and I have ever agreed on something. ;)
User avatar
Braids
Programmer
 
Posts: 556
Joined: 22 Jun 2011, 00:39
Location: Unknown. Hobby: Driving myself and others to constructive madness.
Has thanked: 1 time
Been thanked: 1 time

Previous

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 26 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 26 users online :: 0 registered, 0 hidden and 26 guests (based on users active over the past 10 minutes)
Most users ever online was 7967 on 09 Sep 2025, 23:08

Users browsing this forum: No registered users and 26 guests

Login Form