Commit Graph

561 Commits (master)

Author SHA1 Message Date
melvinzhang 9273f13d4e remove version number from code_clone rule 2015-04-12 08:56:30 +08:00
melvinzhang 3874d9d77f determine usage for all model classes 2015-04-09 08:57:33 +08:00
melvinzhang 456e779221 add rule to compute usage of classes 2015-04-08 17:35:59 +08:00
melvinzhang 534e21446b update bytes_per_card to use git 2015-04-06 12:35:37 +08:00
melvinzhang 33e1d8fb45 use urlencode to instead of sed to encode card name 2015-03-29 17:45:09 +08:00
melvinzhang 580182e74c add rule to query magiccards.info for image URL 2015-03-22 11:19:56 +08:00
melvinzhang 12168ccdc4 add rule to update cards.orig.xml 2015-03-20 12:51:34 +08:00
melvinzhang 10cf2ce16c add rule to simplify adding card scripts from scripts_missing 2015-03-19 11:01:20 +08:00
melvinzhang 0e08261300 make it possible to overwrite the jar used for RUN command so that AI tests can use a different jar from development 2015-02-25 10:09:56 +08:00
melvinzhang 1c0d76771a add rule to check source files for android compatibility 2015-02-14 17:15:11 +08:00
melvinzhang 7276ab6877 add rule find_ui to list source files outside of magic.ui that references magic.ui/java.awt/javax.swing 2015-02-12 11:29:05 +08:00
melvinzhang 5b1ece0dcb overwrite out file 2015-01-24 13:13:14 +08:00
melvinzhang c07cf5186e only extract card errors 2015-01-21 12:51:05 +08:00
melvinzhang c110a98260 correct filename of output 2015-01-21 11:45:58 +08:00
melvinzhang 5013692257 improve method of determining if a card in scripts_missing can be promoted to scripts 2015-01-21 11:43:50 +08:00
melvinzhang 6b749d20bf refer to MagicCompRules directly instead of via wildcard 2015-01-20 16:42:49 +08:00
melvinzhang e970cf97c1 add rule to download comp rules 2015-01-19 09:11:33 +08:00
melvinzhang 40710b84dc update legacy banned cards 2014-11-30 11:31:44 +08:00
melvinzhang 240783a899 update filter pipeline to follow new deckbox page format 2014-11-30 11:28:17 +08:00
melvinzhang 5f1580d917 include palladiamors remote in update 2014-11-15 11:26:16 +08:00
melvinzhang 663e7e86b0 add rule to rebase without updating base branch 2014-11-15 08:50:39 +08:00
melvinzhang d2a1c9f5d9 append to review diff instead of overwrite 2014-11-13 10:31:32 +08:00
melvinzhang a6713d5a59 update wiki and website before src 2014-11-11 13:48:17 +08:00
melvinzhang 5bc5ed4e79 include wiki and website in update rule 2014-11-11 13:47:38 +08:00
melvinzhang 774e0b59d0 generate diff of firemind cards for review automatically 2014-11-03 09:48:20 +08:00
melvinzhang bb70e37169 show log of new commits on firemind upon update 2014-11-03 09:44:01 +08:00
melvinzhang 7fe3985095 remove remove_extra_missing from normalize_files rule 2014-11-02 10:01:54 +08:00
melvinzhang 2baf375460 correct rule for generating wiki page of UpcomingCards and fix reference to this rule 2014-11-01 10:08:25 +08:00
melvinzhang 9a5a9d5a71 rename rule update to up 2014-11-01 10:03:35 +08:00
melvinzhang 59357ea10a rename rebase-firemind rule to firemind, remove old firemind rule using hg 2014-11-01 10:02:25 +08:00
melvinzhang eb086465ae remove rule to upload daily build to googlecode 2014-10-30 12:04:55 +08:00
melvinzhang 9538c77f48 remove outdated rules 2014-10-30 12:02:19 +08:00
melvinzhang 1611559688 replace hg with git in Makefile rule 2014-10-30 12:01:46 +08:00
melvinzhang d63dddfa9f update people rule to use git log format 2014-10-30 11:58:04 +08:00
melvinzhang ed43b69360 update changelog rule to use git instead of hg 2014-10-30 11:56:55 +08:00
melvinzhang 366d5331da update rule to generate upcoming cards to use markdown format 2014-10-30 11:50:41 +08:00
melvinzhang 9cc1c37fef restore ability to cat files from specific revision, replace tip with master 2014-10-30 11:48:31 +08:00
melvinzhang fd3a159d39 replace hg tags with git tag 2014-10-30 11:28:57 +08:00
melvinzhang 5786148acd rename rule fetch to update, also fast forward master to origin/master 2014-10-29 16:38:56 +08:00
melvinzhang f726a94958 temp should not track firemind/master 2014-10-29 09:49:42 +08:00
melvinzhang 2361d6f4fc do an explicit checkout and create branch temp then rebase instead of rebase and create branch 2014-10-29 09:47:16 +08:00
melvinzhang b1c3a84b4f rename rule changes to fetch, ensure merge is ff-only for rebase-firemind 2014-10-29 09:43:09 +08:00
melvinzhang a93a7d339a simplify rebase commands 2014-10-28 22:21:26 +08:00
melvinzhang 4bc5402c7a update commands for rebase-firemind 2014-10-28 22:16:19 +08:00
melvinzhang c4ad30dabe add rule to rebase firemind submissions onto master 2014-10-28 22:16:19 +08:00
melvinzhang 4c2711912c fetch from both origin and firemind 2014-10-27 20:50:04 +08:00
melvinzhang ac245ec5ee fetch changes with git 2014-10-27 19:21:04 +08:00
melvinzhang 301f5813ab replace hg with git in Makefile rules 2014-10-27 14:37:13 +08:00
melvinzhang f655e0e0bf use git instead of hg for remove_extra_missing rule 2014-10-27 14:02:48 +08:00
melvin 036e2f50d4 add rule to download felt_theme.zip 2014-10-20 08:23:25 +08:00
melvin f30d1508d0 move theme specific rules to Makefile in themes repo 2014-10-19 10:21:57 +08:00
melvin b6e373034c add rule to convert google code wiki page to markdown 2014-10-09 10:51:10 +08:00
melvin fa7b66bb4f remove extended cube as it is no longer officially supported 2014-09-28 09:25:32 +08:00
melvin 6f07bf5ad2 add rule to process cards.xml 2014-09-17 13:02:42 +08:00
melvin bb9389edf6 add awk script and rule to generate image url from gallery page 2014-09-14 19:43:19 +08:00
melvin 213e48992a update Mouse library 2014-09-11 13:40:02 +08:00
melvin 408de1b9f2 enable globstar in bash 2014-09-08 09:13:18 +08:00
melvin a87a78eb4f comment out img-mtgimage and remove url-magiccard from normalize_files 2014-09-08 08:56:05 +08:00
melvin da9c36dba3 update path to incomplete dir 2014-09-02 11:22:00 +08:00
melvin 7957a49343 set headless to true in AI vs AI test to simulate environment on CI server 2014-09-02 10:45:08 +08:00
melvin ecc5e3fbb1 add rule to merge from firemind 2014-08-17 10:11:51 +08:00
melvin e8a8f149c2 correct command to remove extra 2014-08-08 10:22:48 +08:00
melvin 92c726ecdc normalize card scripts 2014-08-08 09:07:13 +08:00
melvin 75ddd574bb rename Make rule incoming to changes and show result of 'hg outgoing' 2014-08-03 14:29:04 +08:00
melvin 6992193037 remove special handling of 0/0 and pt with * 2014-08-02 16:33:34 +08:00
melvin 5173065fa2 move check_missing to first step as it is fast 2014-08-02 16:00:21 +08:00
melvin 56ad052dc1 check for extra files in scripts_missing as part of regular sanity checks 2014-08-02 10:48:06 +08:00
melvin 203b4b5fad try to parse scripts_missing without throwing exception 2014-07-31 21:43:03 +08:00
melvin 6e445b380c determine number of pages to pull automatically 2014-07-27 11:13:21 +08:00
melvin 7f7d37d431 add -noverify to Makefile 2014-07-22 11:57:01 +08:00
melvin 83fb7475f1 add rule to check for overlap between scripts and scripts_missing 2014-07-08 15:27:30 +08:00
melvin 2e946290a3 remove extra ', ' at end of formatted card names 2014-06-28 19:49:20 +08:00
melvin f3ad7dd8bf update rule to generate rules.txt to use converted MagicCompRules file as it is no longer available on the website 2014-06-14 09:03:38 +08:00
melvin c37bca2d21 enable asserts during debug run 2014-06-06 11:57:26 +08:00
melvin 890e5d5ae6 make debug return correct error code for failure case 2014-06-03 17:07:16 +08:00
melvin fe0c597392 cat out file when test games fail 2014-05-31 17:04:48 +08:00
melvin b3150d0dd8 update scripts to extract cards names from deckbox 2014-05-30 22:34:53 +08:00
melvin 2f3b016be5 remove checks for url property 2014-05-23 10:23:03 +08:00
melvin 78ab64ed61 add sed script to normalize names 2014-05-18 10:10:15 +08:00
melvin 28a6f6d6b2 include scripts_missing folder in release 2014-05-13 16:47:06 +08:00
melvin 6dfc318ab6 correct rule by adding magarena.dir and enabling assert 2014-05-12 15:48:21 +08:00
melvin fbf898502f find missing @Override annotation 2014-05-06 12:54:38 +08:00
melvin 9e69441d51 upgrade groovy to 2.3.0 2014-05-06 10:28:41 +08:00
melvin 3075bc171f update AllCardNames, convert replace non ASCII characters 2014-05-01 19:44:58 +08:00
melvin 6afa42427d add rule to generate list of cards with groovy code 2014-04-30 13:08:48 +08:00
melvin f25e89d9b8 add rule to perform checks and push changes 2014-04-26 09:35:06 +08:00
melvin 69b8e76c24 made regex for determining list of contributors more specific 2014-04-23 17:17:06 +08:00
melvin 783b9d6a80 correct counting of number of script files in a specific revision 2014-04-14 12:11:26 +08:00
melvin c147159941 show out file if debug fails 2014-04-14 10:26:15 +08:00
melvin b1093a807f make debug rule non interactive 2014-04-14 10:12:45 +08:00
melvin fac185da17 enable MCTS in buildhive test 2014-04-10 10:39:45 +08:00
melvin d4c2c81099 improve regex for matching target choice 2014-04-06 21:37:03 +08:00
melvin 8f100d138c add rule to find unused MagicTargetChoice 2014-04-06 21:35:09 +08:00
melvin 067fc83cbe remove temp files after rule is completed 2014-04-06 18:47:09 +08:00
melvin 7fb7f025af correct rule to check for unused filters in MagicTargetFilterFactory 2014-04-06 17:10:39 +08:00
melvin f1e7113ff2 move filter constants into MagicTargetFilterFactory 2014-04-06 17:04:14 +08:00
melvin 7e4649a485 add rule to detect unused filters 2014-04-06 11:15:49 +08:00
melvin d4f4538385 specify log file as env var 2014-04-02 13:54:29 +08:00
melvin 106f2a6d9a change buildhive test to use MMABC vs MMAB instead of MMABC vs MCTS due to issue with MCTS 2014-04-01 11:15:32 +08:00
melvin a61da6046a add option to pass additional flags to Java runtime 2014-04-01 09:55:44 +08:00
melvin 5b90e5a6e3 make correct-release-label generic uses variables mac, linux, and ver 2014-03-30 22:45:55 +08:00
melvin d087024810 rule to generate formatted list of new cards for including in readme 2014-03-29 19:43:45 +08:00
melvin 1c45088b7e add rule to compute common activation costs 2014-03-22 19:35:50 +08:00
melvin 4348f2b18c remove -ea from RUN 2014-03-13 17:21:56 +08:00
melvin 86e0e29fde simplify test rule in Makefile 2014-03-11 11:21:53 +08:00
melvin 7a1f79cc8b add check that every spell either has an effect property or requires_groovy_code property 2014-03-09 08:41:19 +08:00
melvin d9b4622e58 correct checks to account for new format of URL property 2014-03-06 10:59:47 +08:00
melvin c7a25cd398 include setting of url property in card script normalization 2014-03-05 15:09:26 +08:00
melvin b8629b3bb2 experimental rule to derive card url from card name 2014-03-05 10:11:02 +08:00
melvin 9c513aa655 remove accent in candidate cards 2014-03-04 13:21:06 +08:00
melvin 5a8c97669d mtgimage does not fail if there are no file to convert 2014-03-02 13:49:57 +08:00
melvin d88578af42 buildhive should always do a clean build 2014-03-01 17:51:19 +08:00
melvin 02f7ac6869 prevent buildhive from computing format card list 2014-02-28 11:25:44 +08:00
melvin b5bdb3377c replace curl with wget and sed with unaccent for downloading format list 2014-02-25 09:48:53 +08:00
melvin 41f8a48cbf add rules for working with github releases API 2014-02-24 12:01:38 +08:00
melvin 68252ed2cf update formats 2014-02-23 22:07:01 +08:00
melvin e6af7fc9c3 correct name canonicalization sed expression 2014-02-19 13:59:52 +08:00
melvin 2aab3af9ca perform check_decks as part of checks 2014-02-15 22:11:06 +08:00
melvin 164b5392b3 correct sed expression to handle requires_groovy_code reference with more than one name separator 2014-02-13 21:34:12 +08:00
melvin b644106f04 ensure that properties start at beginning of line 2014-01-26 10:02:30 +08:00
melvin 5374f12da9 replace cat with hg cat to get bytes_per_card for different revisions 2014-01-24 11:09:12 +08:00
melvin c37930c835 correct image URL to mtgimage.com as part of script normalization 2014-01-24 10:08:41 +08:00
melvin 7125fa70de check for empty return in scripts 2014-01-21 10:10:45 +08:00
melvin bbc1272085 check_tokens no longer assume token property appears immediately after name property in card script 2014-01-21 10:04:21 +08:00
melvin a60631f4c7 rule to generate difference in checked properties 2014-01-20 10:27:47 +08:00
melvin c33e21d29a check all repos for incoming changes 2014-01-10 11:22:43 +08:00
melvin e1455d71e1 improve regex to extract deck ids 2014-01-01 21:50:49 +08:00
melvin 03acb443cc improve method of extracting list of token names using awk script 2013-12-28 10:31:15 +08:00
melvin 15cd88c116 add rule to check for incoming changesets 2013-12-15 14:27:02 +08:00
melvin 226d4088e8 fix path to dec files 2013-12-15 09:17:47 +08:00
melvin 7e4f349e70 allow png files for image 2013-12-04 12:16:40 +08:00
melvin 7c385a5b8e add mtgimage rule to update image urls 2013-11-30 10:01:56 +08:00
melvin b06a5ab7ce rename check_unique_key to check_unique_property and add check_required_property and property_stats 2013-11-29 10:28:08 +08:00
melvin 72a6f29a17 remove duplicate check_tokens 2013-11-29 10:06:38 +08:00
melvin 376f88e5ef as part of normalization, remove empty lines in card script 2013-11-11 11:14:40 +08:00
melvin 07a56e6ac4 increase max memory for JVM to 512M 2013-11-10 09:57:06 +08:00
melvin 980f6ab54e move diff into src folder to be next to file it creates 2013-11-02 09:48:57 +08:00
melvin 12ae269259 annotate if card has groovy script in full text 2013-11-01 17:21:58 +08:00
melvin 118024524b add rule to automatically update MurmurHash3 from source 2013-10-29 14:45:38 +08:00
melvin 3c69d9327e added rule to check that cards in decks are present in the game 2013-10-28 11:16:43 +08:00
melvin c14a98323e move tokens check earlier 2013-10-23 21:14:56 +08:00
melvin a9e23cecfb check that every TokenCardDefinitions.get correspond to some token name] 2013-10-23 17:31:01 +08:00
melvin 617937fa21 remove check_tokens from checks as it can no longer infer token names from script 2013-10-17 16:29:53 +08:00
melvin 6f143900e3 for cards with multiple ratings, use the first one 2013-10-15 21:31:59 +08:00
melvin 3ae4268c04 added rule to find common actions 2013-10-15 17:57:55 +08:00
melvin 2d4c0935f8 move tokens check to the end 2013-10-14 11:29:08 +08:00
melvin 1f9889682a check that tokens declared equal tokens used 2013-10-14 10:58:44 +08:00
melvin 91a36d951e added rule untracked 2013-10-06 14:08:28 +08:00
melvin ba34426a6c fix path for symbolic link 2013-10-01 14:11:52 +08:00
melvin cbdd534b58 update for Java 7 package on Mac 2013-10-01 14:09:13 +08:00