Commit Graph

53 Commits

Author SHA1 Message Date
Jakub Wilk 70f0d687f6 fix error handling for nonexistent pages 2017-01-29 15:24:00 +01:00
Daniel Lenski ed576e5e0e fix dumb mistake due to reuse of 'path' 2016-08-05 18:44:45 -07:00
Daniel Lenski 594cd52955 more http → https 2016-08-05 18:44:45 -07:00
Daniel Lenski 6e7a19ce60 make into a proper distutils package, with wp2git as CLI entry point, and call it version 1.0 2016-08-05 18:31:30 -07:00
Dan Lenski 33040a6c56 Merge pull request #1 from chhantyal/master
use https
2016-08-04 15:31:18 -07:00
Nar Chhantyal 2f417cb36b use https 2016-08-04 19:53:35 +02:00
Dan Lenski 7587971229 group options 2015-12-26 23:06:17 -08:00
Dan Lenski 9aa17397c0 include editor link and cleaned-up user info in commit summary 2015-12-26 23:06:17 -08:00
Dan Lenski efaf81fa7b make a non-bare repo by default 2015-12-26 22:45:33 -08:00
Daniel Lenski 71f4fef0d7 fix URLs in summaries 2015-07-23 11:45:26 -07:00
Dan Lenski eaf9f9706f comment is optional 2015-02-10 21:21:44 -08:00
Daniel Lenski b284e8fc74 use pipe to git fast-import rather than creating a temporary fast-import file 2014-10-14 17:42:05 -07:00
Daniel Lenski 839f2f86e9 simplify fast-import flow 2014-10-14 12:33:53 -07:00
Daniel Lenski 695d460665 ASCII-fy stderr status line for Windows, and fix field order 2014-10-14 12:33:53 -07:00
Daniel Lenski 73c7a7a052 more sophisticated site-parsing 2014-10-14 12:33:46 -07:00
Dan Lenski aa22ced399 replace D version with Python version, based on mwclient 2014-10-14 00:44:56 -07:00
Vladimir Panteleev 2fa911799e Add download link 2013-08-29 22:29:19 +00:00
Vladimir Panteleev e4e42a3f2d Add README 2013-08-29 22:16:19 +00:00
Vladimir Panteleev 121bbaec42 Change extension of article content file from .txt to .mw 2013-08-29 22:06:12 +00:00
Vladimir Panteleev f56f4dd789 Create a directory for the page 2013-08-29 22:03:33 +00:00
Vladimir Panteleev da45348751 Sanitize file name 2013-08-29 22:03:32 +00:00
Vladimir Panteleev 3536d47f5d Add --keep-history option 2013-08-29 22:03:29 +00:00
Vladimir Panteleev 2426da08de Progress output aesthetics 2013-08-29 22:02:59 +00:00
Vladimir Panteleev 687bfafc53 Whitespace 2013-08-29 22:02:55 +00:00
Vladimir Panteleev 62071473a3 Remove redundant quote-stripping 2013-08-29 22:01:14 +00:00
Vladimir Panteleev 3bbdc75efd Use std.exception.enforce 2013-08-29 22:00:28 +00:00
Vladimir Panteleev 92cbf5c6eb Use std.getopt 2013-08-29 21:30:28 +00:00
Vladimir Panteleev 6f29dd4a2b Update to D2 2013-08-29 21:25:15 +00:00
Vladimir Panteleev 15decb678f Add LICENSE and AUTHORS 2010-09-18 11:05:44 +03:00
Vladimir Panteleev 1d7587161f Removed inadequate copyright 2010-09-13 01:46:57 +03:00
Vladimir Panteleev 3da27c86ba Aesthetics 2010-09-13 01:44:38 +03:00
Vladimir Panteleev e4205cef14 Add --language option to allow specifying language subdomain 2010-09-13 01:42:11 +03:00
Vladimir Panteleev 32c06824fb Add --no-import option 2010-09-13 01:27:35 +03:00
Vladimir Panteleev adb035bbc3 Handle bad page names gracefully 2010-09-13 01:25:01 +03:00
Vladimir Panteleev dad49db729 Parse argument list and add detailed usage 2010-09-12 23:44:53 +03:00
Vladimir Panteleev 4559fc8dc8 Specify language version 2010-09-12 23:44:26 +03:00
greenrd 6a7f712560 Add README explaining how to compile it 2010-09-12 15:47:30 +01:00
Robin Green 4cbc5ba891 Don't delete the git-fast-import file afterwards
This lets the user import it into another VCS which supports git-fast-import
2010-09-12 15:40:05 +01:00
greenrd 3c31925bc7 Fix bug with page titles containing spaces
by URL encoding page names
2010-09-12 15:40:05 +01:00
Robin Green 1fcfb50ca3 Commented out some entities to make it compile on gdc 2010-09-12 15:40:05 +01:00
Vladimir Panteleev ed994d259a Add revision link in commit message 2010-06-16 02:26:01 +03:00
Vladimir Panteleev 690409954c Clean up 2010-06-16 02:10:33 +03:00
Vladimir Panteleev 1933c5e38d Don't clobber existing .git; reset after import 2010-06-16 02:09:52 +03:00
Vladimir Panteleev 2fa13ce3cd Convert timestamps 2010-06-16 02:09:41 +03:00
Vladimir Panteleev 9883c3517c Better committer identity 2010-06-16 01:50:02 +03:00
Vladimir Panteleev ed941cd9e5 Reset branch before committing to it 2010-06-16 01:49:48 +03:00
Vladimir Panteleev df047aac4c Perform git init and fast-import 2010-06-16 01:05:13 +03:00
Vladimir Panteleev 0f0c3a924d Show more progress 2010-06-16 01:04:12 +03:00
Vladimir Panteleev 49f4caddfb Use MemoryStream for performance 2010-06-16 00:57:25 +03:00
Vladimir Panteleev be2da029c6 Output messages and progress to stderr 2010-06-16 00:57:05 +03:00