card txt files may be read-only or locked for a time today
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
16 posts
• Page 1 of 2 • 1, 2
card txt files may be read-only or locked for a time today
by Braids » 30 Jun 2011, 16:15
i have 27 commits in process that affect res/cardsfolder.
if you want to modify a card, please run svn update first. if your card exists both in res/cardsfolder/ and in res/cardsfolder/L/, where L is a single lowercase letter, please modify the one in the L/ directory instead.
if your card does not have a single letter subfolder within cardsfolder, please hold off on your modification for now. i suggest making a manual backup to a different filename and running svn revert. then modify the backup.
REDACTED:i will post here again once the commits have all gone through. i see that the res/cardsfolder/a and b/ are now available.
if you want to modify a card, please run svn update first. if your card exists both in res/cardsfolder/ and in res/cardsfolder/L/, where L is a single lowercase letter, please modify the one in the L/ directory instead.
if your card does not have a single letter subfolder within cardsfolder, please hold off on your modification for now. i suggest making a manual backup to a different filename and running svn revert. then modify the backup.
REDACTED:
Last edited by Braids on 30 Jun 2011, 16:40, edited 2 times in total.
"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. 

-
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: how to update card txt files today
by Braids » 30 Jun 2011, 16:38
i have to start again. this time, i am locking the files and setting their svn:needs-lock properties before moving them into the subdirectories. again, if you need to edit a card file, make a copy of it and edit that until i have finished with res/cardsfolder.
see http://svnbook.red-bean.com/en/1.5/svn.advanced.locking.html for documentation on locks and svn:needs-lock.
sorry for the inconvenience. i have tried my best to do this in ways that interfere less, but the technology continues to fail me.
see http://svnbook.red-bean.com/en/1.5/svn.advanced.locking.html for documentation on locks and svn:needs-lock.
sorry for the inconvenience. i have tried my best to do this in ways that interfere less, but the technology continues to fail me.
"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. 

-
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: card txt files may be read-only or locked for a time tod
by Hellfish » 30 Jun 2011, 17:03
Start all of them over again? It seems like A,B and C committed fine at least.
So now you're
Screaming for the blood of the cookie monster
Evil puppet demon of obesity
Time to change the tune of his fearful ballad
C is for "Lettuce," that's good enough for me
Screaming for the blood of the cookie monster
Evil puppet demon of obesity
Time to change the tune of his fearful ballad
C is for "Lettuce," that's good enough for me
-
Hellfish - Programmer
- Posts: 1297
- Joined: 07 Jun 2009, 10:41
- Location: South of the Pumphouse
- Has thanked: 110 times
- Been thanked: 169 times
Re: card txt files may be read-only or locked for a time tod
by Braids » 30 Jun 2011, 17:06
oh! thanks for the info about a, b, and c. that would explain some things.
i still have to remove the cards from the cardsfolder. people can edit the ones in the a, b, and c folders with no problems. but i'm going to lock and tag res/cardsfolder/*.txt before i move on.
i still have to remove the cards from the cardsfolder. people can edit the ones in the a, b, and c folders with no problems. but i'm going to lock and tag res/cardsfolder/*.txt before i move on.
"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. 

-
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: card txt files may be read-only or locked for a time tod
by Chris H. » 30 Jun 2011, 17:25
Like Hellfish said
, folders a through c made it to the SVN.

-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: card txt files may be read-only or locked for a time tod
by Braids » 30 Jun 2011, 17:40
sigh. i have to leave now. i'll deal with d-z later.
"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. 

-
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: card txt files may be read-only or locked for a time tod
by Jaedayr » 30 Jun 2011, 18:46
Time for my noob question of the day. Rather than download all the new folders/files, can I manually create new folders and move the files? Will Eclipse recognize them in the new location and not have to download anything?
Re: card txt files may be read-only or locked for a time tod
by jeffwadsworth » 30 Jun 2011, 18:58
Braids, do you know about this page?
http://code.google.com/p/cardforge/source/list
The Changes button is key to check whether your commit worked, etc.
http://code.google.com/p/cardforge/source/list
The Changes button is key to check whether your commit worked, etc.
- jeffwadsworth
- Super Tester Elite
- Posts: 1172
- Joined: 20 Oct 2010, 04:47
- Location: USA
- Has thanked: 287 times
- Been thanked: 70 times
Re: card txt files may be read-only or locked for a time tod
by Braids » 30 Jun 2011, 21:30
i'm back, and i should be able to stick with it until it is finished this time.
@Jaedyr re: manually create new folders, i don't know how smart subclipse is, but i suppose it is possible. i would prefer you wait if you can, that way we don't have two versions of the X directory that we have to figure out if we can merge.
@jeffwadsworth Re: googlecode, i use the changes button a lot. i usually can tell when my commits fail because i use svn from the command line, and i actually see the error messages from googlecode's lame epic ultra fail server.
@Jaedyr re: manually create new folders, i don't know how smart subclipse is, but i suppose it is possible. i would prefer you wait if you can, that way we don't have two versions of the X directory that we have to figure out if we can merge.
@jeffwadsworth Re: googlecode, i use the changes button a lot. i usually can tell when my commits fail because i use svn from the command line, and i actually see the error messages from googlecode's lame epic ultra fail server.
"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. 

-
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: card txt files may be read-only or locked for a time tod
by Jaedayr » 30 Jun 2011, 22:07
Sorry for the misunderstanding, I am not updating the files in google todayBraids wrote: i don't know how smart subclipse is, but i suppose it is possible. i would prefer you wait if you can, that way we don't have two versions of the X directory that we have to figure out if we can merge.

When I finally got it synced and updated, I started Forge and it complained of duplicate cards. I deleted all the A through D cards from the original folder and it works. However I would prefer to avoid hours of updates to just move cards locally if that is possible.
Re: card txt files may be read-only or locked for a time tod
by Braids » 30 Jun 2011, 22:37
(quotes are out of order)
i am fixing it right now.
Use ordinary OS delete to destroy the cardsfolder entirely. use file explorer or such. do not use svn rm. once you've done that,
this is exactly why i'm splitting up the cardsfolder in the first place. after this transitional period, i believe it will be much smoother for all of us.Jaedayr wrote:I tried to synchronize and then update, update disconnected from the server after about half an hour of trying to update over 2500 changes.
i realized this would be a problem when i was away from the net today. i broke forge again.Jaedayr wrote:When I finally got it synced and updated, I started Forge and it complained of duplicate cards.


i don't see a way around this, unless you are familiar with using svn from the command line. if you are, and you are not editing any of the txt files within cardsfolder, you could experiment with this:Jaedayr wrote:Sorry for the misunderstanding, I am not updating the files in google today, I was referring to my local copies . . . I would prefer to avoid hours of updates to just move cards locally if that is possible.
Use ordinary OS delete to destroy the cardsfolder entirely. use file explorer or such. do not use svn rm. once you've done that,
- Code: Select all
cd parentfolder/res
svn checkout https://cardforge.googlecode.com/svn/src/res/cardsfolder --depth infinity
"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. 

-
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: card txt files may be read-only or locked for a time tod
by Braids » 01 Jul 2011, 03:03
i got through the 'r' folder this evening. the 's' folder is committing right now. but i'm stepping away from the computer, so i don't know if it will finish on its own. more directories will have to wait until tomorrow. on the plus side, i have been committing each entire move from cardsfolder to a subdirectory. forge shouldn't blow up because of duplicate cards like it was doing earlier today.
on the down side, i don't know if running update will be feasible once this is all finished. as i alluded to previously, people may have to recreate their working copies.
on the down side, i don't know if running update will be feasible once this is all finished. as i alluded to previously, people may have to recreate their working copies.
"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. 

-
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: card txt files may be read-only or locked for a time tod
by Chris H. » 01 Jul 2011, 10:38
It looks like cards with the letter s were all moved into the s folder.
-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: card txt files may be read-only or locked for a time tod
by Braids » 01 Jul 2011, 13:23
yes, it did! i'm resuming the task now, starting with T.Chris H. wrote:It looks like cards with the letter s were all moved into the s folder.
"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. 

-
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: card txt files may be read-only or locked for a time tod
by jeffwadsworth » 01 Jul 2011, 14:27
As was mentioned earlier, I suggest that everyone grab the SVN project from scratch when the card folder process is done. Otherwise, you will be waiting a long time for the update process to complete.
- jeffwadsworth
- Super Tester Elite
- Posts: 1172
- Joined: 20 Oct 2010, 04:47
- Location: USA
- Has thanked: 287 times
- Been thanked: 70 times
16 posts
• Page 1 of 2 • 1, 2
Who is online
Users browsing this forum: No registered users and 41 guests