Jon Frisby
d6b6b0d80e
Various rsync deployment fixups:
...
1) If ssh_key was absent, you'd get an error.
2) Had to specify full path to key ("/Users/jfrisby/.ssh/...") -- couldn't use "~/.ssh/...". Since SSH demands it be there anyway, let's pre-populate for the user and make their lives easier.
3) Ensure uniform and consistent trailing slashes on source and dest paths to avoid accidentally mucking things up.
2013-02-20 11:38:10 -08:00
Parker Moore
4dfc4237d3
Updated Rakefile to handle Octopress::Configuration as a class.
2013-02-17 02:47:31 +01:00
Parker Moore
7265683c33
Merge pull request #1022 from gkarekinian/patch-2
...
Fixed configuration overriding
2013-02-16 17:12:00 -08:00
Parker Moore
28e25cacb0
Merge pull request #1021 from gkarekinian/patch-1
...
full_configuration in Rakefile was uninitialized
2013-02-16 16:22:59 -08:00
Grégory Karékinian
a6f2fdccd5
Fixed undefined variable timezone in Rakefile
...
It made it impossible to create a new page on 2.1
2013-02-14 17:44:39 +01:00
Grégory Karékinian
e18fba9456
Added initial test coverage
2013-02-12 12:08:29 +01:00
Greg Karékinian
cc97ac61fc
full_configuration in Rakefile was uninitialized
...
Switched to a variable instead and reusing it in `integrate` task as well.
2013-02-11 12:42:47 +01:00
Franklin Chen
a5e7ed82db
Update reference to timezone using new config system.
2013-01-28 23:39:51 -05:00
Parker Moore
c3479dca4a
Merge 2.1 with new-configs
2013-01-20 23:20:45 -05:00
Parker Moore
6ce4d89bce
Updated configuration structure and dependent code. Added Octopress module for easier sharing of helper methods.
2013-01-20 23:13:47 -05:00
Brandon Mathis
9659a45da3
Merge pull request #903 from mneorr/ssh_key
...
added ssh keys support (e.g. for Amazon ec2)
2013-01-13 21:06:42 -08:00
Brandon Mathis
5251313aa6
Improved timezone support
...
- Rake task list_drafts fixes
- Added link to timezone documentation
2013-01-13 22:54:47 -06:00
Chris Perelstein
4c0cf14344
Modified rake tasks to use iso8601 format dates and added configuration option to force a specfic timezone to be used
2013-01-13 22:01:57 -06:00
Brandon Mathis
5ba5b4760b
Improvements to the regexes in setup_github_pages task
2013-01-13 10:00:43 -06:00
Brandon Mathis
38353f216c
Improved draft management options
...
- rake list_drafts shows current drafts. Closes #645
- Rake generate, watch, and preview can compile future dated posts (defaults to false). Closes #837
2013-01-13 00:50:38 -06:00
Vaz Allen
ec07a5d7f8
setup_github_pages: allow for clones missing .git extension
...
Conflicts:
Rakefile
2013-01-12 21:28:21 -06:00
Marin Usalj
7c9c4bad48
added ssh keys support (e.g. for Amazon ec2)
2012-12-29 09:58:34 -08:00
Parker Moore
087461a06c
Removed dependencies upon :copydot from other tasks
2012-12-28 02:57:56 -05:00
Parker Moore
536f760d5a
Remove copydot task in favor of Jekyll's include config ( Fixes #894 )
2012-12-28 02:19:19 -05:00
Johan Svensson
a6b8efe4a2
Rakefile option for any additional rsync arguments
...
Added variable `rsync_args`
2012-12-20 00:13:28 -06:00
Brandon Mathis
1d210675b7
Merge pull request #874 from imathis/catch_deploy_failures
...
Catch deploy failures
2012-12-19 21:51:59 -08:00
Parker Moore
d089889772
Printing the repo_url when failing. #866
2012-12-20 00:47:38 -05:00
Parker Moore
51fb2bcc5a
#866 - using 'raise' instead of 'puts' for the error
2012-12-20 00:43:54 -05:00
Parker Moore
80fad2180e
Checking to see if 'git push' worked in deploy. #866 .
2012-12-20 00:43:53 -05:00
Parker Moore
569ed588e3
Updated URL parser for setup_github_pages. Fixes #868
2012-12-20 00:37:48 -05:00
Parker Moore
31db12fc49
DRY'd up that user regex.
2012-12-20 00:02:36 -05:00
Parker Moore
1e300fbb03
Catching malformed repo URLs #689
2012-12-19 23:46:33 -05:00
Parker Moore
3c92c5b407
Added support for https:// repo URLs. #867 .
2012-12-19 23:45:34 -05:00
Parker Moore
dbb1487ba0
Slightly different syntax for setting server_host/_port. #780
2012-12-17 14:14:25 -05:00
Parker Moore
bb8f531d54
Using OCTOPRESS_-prefixed ENV vars. Modification to #780 .
2012-12-17 14:06:45 -05:00
Parker Moore
6827f314b1
Printing HOST and PORT on rake preview
2012-12-17 13:59:35 -05:00
Max Lincoln
329d2c5bda
Grab IP and PORT env vars and bind rack to both
2012-12-17 13:58:09 -05:00
Parker Moore
7e720ebe33
rake :generate strictly compiles
2012-12-16 12:44:57 -05:00
Brandon Mathis
773be70c29
Disabled Rsync delete by default. #787
2012-10-13 15:37:03 -05:00
Henrik N
b0a60e44f3
Unbreak generate_only task.
...
The isolate task would overwrite the stash_dir local,
breaking the integrate task.
2012-07-22 21:15:34 +02:00
Brandon Mathis
cf0fd14476
fixed some typos
2012-06-17 11:20:05 -05:00
Brandon Mathis
c2e14bf88e
Added combined javascript to .gitignore. Rake minify now uses configuration for the source directory
2012-06-17 09:36:56 -05:00
Brandon Mathis
17368e93c4
Added minification and concatenation of Javascript files
2012-06-16 18:36:58 -05:00
Brandon Mathis
28e99b3c38
Added plugins/config.rb for reading and writing _config.yml. Added option to use Albino and default Python Pygments by setting pygments:true in _config.yml
2012-06-15 12:50:44 -05:00
Brandon Mathis
b1276f082c
Better method for customizing the favicon. Closes #594
2012-06-07 14:27:25 -05:00
Brandon Mathis
d0257bd930
Removing .sass-cache in update_style task to ensure that Sass caches don't cause problems when users update. Related to issue #555
2012-06-03 17:22:09 -05:00
Hong Xu
c1b2b43b32
Use a more portable way to create .nojekyll file when deploying to github pages.
2012-05-27 13:49:35 +08:00
Brandon Mathis
0b088433ca
Added configurable array for adding hidden files to be deployed with copydot task
2012-05-26 11:52:23 -05:00
Brandon Mathis
e81e1c8289
Removed .nojekyll from source directory as it only makes sense to add to GitHub pages deployments. Added .nojekyll creation to push rake task for GitHub pages
2012-05-24 10:18:28 -05:00
Brandon Mathis
934e3b3040
Rake task 'clean' deletes each file inside of specified cache directories and generated stylesheets
2012-05-22 19:21:29 -05:00
Brandon Mathis
09a2e3754d
Copydot rake task now includes .nojekyll and .htaccess files. Since some OSes or applications create unimportant hidden files, this only copies hidden files known to be useful for blogging. This closes #303 #348 #419
2012-05-22 17:13:55 -05:00
Brandon Mathis
439f0a774a
Added generate_only task (combines isolate, generate, integrate) for speedier rendering checks on a blog post. Added more optional stdin dialogs to better support zsh. Improved feedback on set_root_dir
2012-05-22 13:12:48 -05:00
Brandon Mathis
bfa5255188
Rake new post now accepts:
...
- Inline input as in `rake new_post["Your post title"]
- Input from stdin if in-line input isn't given.
This should help zhs users who've been frustrated by globbing issues.
Fixes #117
2012-05-21 08:57:49 -05:00
Brandon Mathis
741107291b
Added 404, moved archives from /blog/archives to /archives, added migration in update_source rake task. Closes #375
2012-05-20 22:23:18 -05:00
Brandon Mathis
c7d74c0d82
Added instruction regarding management of _deploy/ for GitHub pages users. Removed preview mode check from deploy script
2012-05-20 17:27:27 -05:00