Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/freerange/recap

Simpler and faster capistrano deployment (canonical repo is at https://github.com/tomafro/recap)
https://github.com/freerange/recap

Implement specs for `env:set`.

2b6b5fec390fa7cb26a5c07fb545ce256b40e660 authored almost 13 years ago
Extract common setup from env specs.

0d63e90d09ddd87fd3c9577323203e0d81495f7d authored almost 13 years ago
Make it clear no need to install VirtualBox to run specs.

Also make necessay calls to `bundle exec` explicit.

45444ae9929c53c1dfe7fc7d43af78361fccd2a0 authored almost 13 years ago
Add instructions on how to run specs and features.

de856c1e6c8083094ff58b2e6daaa67008c63df6 authored almost 13 years ago
Encourage use of recap CLI when getting started

Also some other minor tweaks to the recap.rb documentation, and regenerated all documentation.

91eeb63c4971e5de08520abc80dac03f1b24901e authored almost 13 years ago
Merge pull request #42 from freerange/ineffectual-in-sequence

Mocha::Expectation#in_sequence with no Mocha::Sequence has no effect.

97829822eb9c6c383a3fc07b882fc9643e62a3a7 authored almost 13 years ago
Merge pull request #43 from freerange/expect-abort

Use expectations to check for calls to Kernel#abort.

bfe29e4e9d1667ec6f0a4e6f92ce4bb30f95cb8d authored almost 13 years ago
Add a missing test about overriding.

Without this, the 'unless' isn't required.

1bda745ab81e73d2f30a9bce9a5054d86c426d46 authored almost 13 years ago
Test the `env:reset` task.

In order to prevent issues looking directly at ARGV, I've extracted that
into a method that can ...

52c555b465e050cb47b1f9116e068b9e58e23be4 authored almost 13 years ago
Remove spurious blank line at top of feature file.

6f358b3435555ae451db1cb04d771c44c69f6c8e authored almost 13 years ago
Add missing space character.

e7f983ab1f43080a944dec9c276f8ac9e86c1e2d authored almost 13 years ago
Use expectations to check for calls to Kernel#abort.

Previously we were checking that a SystemExit exception was being
raised, but this meant that th...

c4efadafafa5c96ec95072e99018e9a4c277ff33 authored almost 13 years ago
Mocha::Expectation#in_sequence with no Mocha::Sequence has no effect.

A number of tests setup expectations and attempt to constrain them to
occur one after the other ...

e88380e101f08b47eaf8e65800ef3c2aeb8d6d79 authored almost 13 years ago
Add specs for `env:edit`

This caught a bug where `Recap::Environment` hadn't been changed to
`Recap::Support::Environment`.

dfb6ee0d4f435fae1ef13b7d47ab8068e1083a9c authored almost 13 years ago
Don't have any documentation pages with nothing on them.

Even a tiny comment is enough prevent the page from being blank.

66e8fafc51b068625be396e0ba87ebc3eabf4251 authored almost 13 years ago
Make recap CLI more friendly

Update the CLI command to guess the appropriate recap variant (static/ruby/rails) to add to the ...

ed594578f88f1157bb8f4a69066406404abe316b authored almost 13 years ago
The index of the documentation should be the `Recap` module.

Having `index.rb` was a bit of a hack, and with a bit of massaging we
can convince Rocca to docu...

f70cb48212f997aa2dab979998cc744757de6017 authored almost 13 years ago
The Environment helper is now under the Recap::Support module

e1dfe737d5294c8c196ec2f817ef851f2c8ed26a authored almost 13 years ago
Move files that shouldn't be directly required into subfolders.

I decided to split the files into 'tasks', which contain definitions of
behaviour to run using C...

99ed96ead027d922b1c0dcc51fb532ec5c5a7f8d authored almost 13 years ago
Ensure the `doc` task works as you would expect.

Previous to this, `rake -vT` would advertise a `doc/` task that only
generated the doc folder, a...

5e7181f82bc2b769ca8752d417fcb7bebfe52805 authored almost 13 years ago
Use recap/ruby as the default recipe.

We want the common case for using recap to have as little friction as possible for users. We als...

3d57d61fed5f61ac1e9b9fea6c430fbe96af0b3c authored almost 13 years ago
The bootstrap specs felt too complicated for the benefit they'd provide.

The functionality is already exercised by the cucumber features, and task descriptions provide a...

2f1ee87a92fa1a2ed74c022f6162264c33c5c6b5 authored almost 13 years ago
Yet more documentation changes, pushed to get them off my system as much as anything

3fb3eb3177a2cd297919c487bcdeb04408377353 authored almost 13 years ago
doc in progress

f65a321b9ee3c6cb6321a2b7ee466023930cf74d authored almost 13 years ago
Update the README to make it (hopefully) more concise

9c71bb267817d3c25174371673b4b6f393042b01 authored almost 13 years ago
Reparse environment files before uploading them after editing.

We have been seeing irritating \r characters seeping into our .env files causing all sorts of ha...

63ce214d45a74e10d073d7f0b8b1c5abdf83b506 authored almost 13 years ago
Use sed to build the environment export command, remembering to strip extraneous \r characters

cf55905e68ae5963c3350f9b43a958f4a35d6082 authored almost 13 years ago
Ensure temporary files are removed after use

2775581eb2383d8ea751e9f9020abbbca84b7ec9 authored almost 13 years ago
Added `env:reset` command to reset the environment back to default values

7d96f24faaed6a7357464a948bfde8acdef9ccbb authored almost 13 years ago
Allow setting of default environment variables within Capfiles

It should now be possible to set default values for variables like RBENV_VERSION directly in the...

3fc28d2d41b2e498c5a31d8abe75467f2ba37d89 authored almost 13 years ago
Don't add `. $HOME/.recap` more than once to .profile

92c4b073aea36fb82ce3a0aba7223781cfaf80b8 authored almost 13 years ago
Releasing version 0.2.0

a0b4f049509779cc430520fcf4e780ecda91fd72 authored almost 13 years ago
Change the way environment variables are set to allow spaces in values and references to other environment variables.

This should now allow setting variables like: `PATH=/new/path:$PATH` or `NAME=Tom Ward`.

N.B. T...

b59e6e8406fd09e195824fdf2acf1716940bc8a2 authored almost 13 years ago
Add features to for process management using foreman

756e07dffdec57cc74666eb227cd456ba600c85d authored almost 13 years ago
Added a feature to check setting environment variables for your app

c70c2edd5110872d672755a57f7bfb6f7a6c8036 authored almost 13 years ago
Added cucumber tests for deployment of projects with ruby gem bundles.

1e74d2a13e6a3897363666547bb3986693b19bd1 authored almost 13 years ago
Abort bundling if Gemfile.lock doesn't exist

3c3172196d14acedbbb65090706009e41ea46b7d authored almost 13 years ago
Move test projects under their own directory

d5062e7387c8364d7f374dee27dccc64781f6ade authored almost 13 years ago
Use an ERB file for Capfile generation

c98a9be4f13271729e05987bfdc196b6761ec9cc authored almost 13 years ago
Make the deployment feature a little more generic

bb4856143d85b787e16390dee8dec4b2c9dc7619 authored almost 13 years ago
Use sub-second resolution for release tags when testing, to prevent intermittent failures.

Also refactored Capfile generation into dedicated class in preparation for a new feature!

b75e73aa0018b135deec7e99ca225351700c63c4 authored almost 13 years ago
Need to test bootstrap tasks against bootstrap namespace.

bc7bae5510c6af27e14dcefa67c39ba04f110d0c authored almost 13 years ago
First baby steps towards some integration tests (running against a vagrant VM)

Before running these tests use `vagrant up` to start a VM, then `cucumber` to run the feature.

c35b850d8a7ddca55a9bd9df7c108d4448638c2f authored almost 13 years ago
Tiny doc change

7fff02481396f25405811742105d158eb8345cc0 authored almost 13 years ago
Improve the README to make it a bit clearer what we're trying to achieve.

@mperham pointed out the previous README was a bit threadbare.

41c9fed1e3b300aca22544939052b6c9b0e2a395 authored almost 13 years ago
Fixed a small typo

66d23c943a07da298783de0ac5db7d2a87e995d0 authored almost 13 years ago
Extract environment manipulation into a dedicated class

d279c1e1379958b6fb7ad7eb40f6e3e6f6ae3071 authored almost 13 years ago
Improved foreman specs

6f8e8fe338f4033d4e131f7ea6aef93a275c3e53 authored almost 13 years ago
Fix and tidy bundler specs

68371705a633edd04b00dd3af1819233800c3268 authored almost 13 years ago
Fix foreman support (and add specs)

9b19aa5bac5f87dd915f52ca135c42ee84130109 authored almost 13 years ago
Travis CI should test against 1.9.3

0d3ea68fc9447e71dfd804bc9c22ffd90c37acdb authored over 13 years ago
Pending specs for environment tasks

1653994cd30e7afecc9cc6028e64e5247a563980 authored over 13 years ago
Initial specs for foreman (only settings tested in any way)

ae6fa5200d2a942977bf14368787f53ad19825c1 authored over 13 years ago
Flesh out specs for deploy tasks

4028bbd2e949408c381df39e33c2a7d948439507 authored over 13 years ago
Fill in some pending specs

b9ee88c9978648ac6245721d1cb2f69b9d725a4a authored over 13 years ago
Expectations can be set on the namespace rather than the configuration

6ad08ebd2e25e1229634664c4d1afe7999d71b59 authored over 13 years ago
Regenerated documentation

944d88c199f20f191e19d9da3f8ca5232019ac4b authored over 13 years ago
Use Recap::Namespace modules to define all tasks

347007ffe5461805f744f2c727f2139f5c8d2258 authored over 13 years ago
Add tests for some of the simpler aspects of deployment.

cd27949078f1c5d2d76412926f33c501c1dce000 authored over 13 years ago
Test on both 1.8.7 and 1.9.2 (updating hash syntax back to old style)

714440e55adc88b22e661ac270e403e3ca372ec4 authored over 13 years ago
The spec task should be the default

870c651dffbcfdfabb3a94d2ae1c9265646d235c authored over 13 years ago
Refactor and add specs for the bundler tasks.

This is the first stage of a process to update and test all tasks (in an admittedly limited way).

a54f439a3cdbbb5709b237d630c47fe95c326825 authored over 13 years ago
Remove reference to test application

195e33ad538cc07583007c08abc3039cb001a610 authored over 13 years ago
Merge pull request #26 from fidothe/master

fixes up the Capfile.erb template path

e3da5e131fa92d74d4843000088c04e2e3737c0d authored over 13 years ago
Version bump

72cf7d408046bc7999f20fffdd3d2dc7d6041284 authored over 13 years ago
Bump to Cap 2.9

610927a550de235a9a98ef01905570e881134151 authored over 13 years ago
Fixed the templates path so it looks in the right place for Capfile.erb

18baa767b87f90968fa24d675fc9cbd5ea92a501 authored over 13 years ago
A change_ownership had been left behind

639082c67500f11a55377884105adc54c735dda3 authored over 13 years ago
Use `umask`, `sg` and an up to date version of git to simplify cloning and updating code

caac31d08f518624ea61fb26e68037a428b1e39d authored over 13 years ago
Add a bootstrap recipe with tasks to setup the application and configure deployment user

d770ccbfa59374f091bebc336c866a4096a36812 authored over 13 years ago
Introduce exit_code method to get exit code of remote commands

ce9d305032242ded7dc3b700aaf6946c1502c9f0 authored over 13 years ago
Some documentation improvements

7fbe53dca34433f8dfb84df165b5474cff57707a authored over 13 years ago
There's no rubyforge project, and the main documentation is at code.gofreerange.com

59825444408b1a019a61c14af4620c030aa81f7a authored over 13 years ago
Executable was not renamed

5115dd172d4d9843d69603764d94f36f187b95fc authored over 13 years ago
Update version to 0.1.0

01c7dcc3dbe9f189b24099b4783c3dbafc5246f6 authored over 13 years ago
Change the default deployment folder to inside the application user's home directory

106a621d127f7f399330deaff15d63812d2c3b92 authored over 13 years ago
Rechristen the project 'recap'

eb0f6bb287ce3e5ef16ca2901ccd0f4be2494722 authored over 13 years ago
Touch file before editing, to ensure it exists and is owned by the application

0a60f1977dc08871a55ba9f85731f570903c37ea authored over 13 years ago
Add a task to interactively edit the current environment

1dd23742244d3c8b077dabe966753d7598ed99c3 authored over 13 years ago
Use put to write the application environment file

5f2eb188633cd8ac496aedea77e8cd08f7aceb4e authored over 13 years ago
Merge pull request #19 from lazyatom/master

`cap env` rather than `cap env:read` ?

86945c020fa05008d83890b2be57eedd3992c00b authored over 13 years ago
Use `cap env` to get the current settings.

This is a bit more like Heroku.

1d7acdb2b36c5cd9e0a9cd3e320a40cce3967046 authored over 13 years ago
Ownership needs to be changed after tagging, as well as fetching and cloning

08c85ff61d05a1e265fcd821f47c9caa191f9007 authored over 13 years ago
If the .env file is empty, remove it entirely rather than generate a single byte file.

Fixes #16

b7b305bf853200c4411b40c98df25fad663add33 authored over 13 years ago
Remove test code that was mistakenly included

4209aab30190283a3056d0a06593700a964702b8 authored over 13 years ago
My cut and paste skills are not as strong as they used to be

58a96a2e1d9dfa3987e7cd5683b27a2e08c2f085 authored over 13 years ago
Updated documentation

532c1b200b8aeb0f37fbf2286ec694f15dd6e36e authored over 13 years ago
Refactor to use same code to extract variable declarations from command line as .env file

This has the added bonus of making the command line extraction more reliable. Alright!

af8b466c21e5a329dbcc0306b49501a4714c09d6 authored over 13 years ago
Add a pointer to the .profile changes needed

7782b00562d7acbfb6991d3a32d93cdb4d9f3e43 authored over 13 years ago
Merge pull request #11 from lazyatom/master

Prevent ^M characters from entering the env file

d2c78fa37e285117111ec90294b65d92e3e50de0 authored over 13 years ago
Merge pull request #10 from lazyatom/env-args

Take variable assigments directly from the commandline.

a8154d181165ab62976b4fef7f8b8778cfacf1d8 authored over 13 years ago
Start mentioning deploy environment issues.

Mainly I wanted to note that Passenger needs to have the user set.

7e2245baa0366516303a556d5703d925ef305d6d authored over 13 years ago
Prevent ^M characters entering the env.

This happens when you write back the env after its been read from the server.

58f8e0edeffb8232de00b3f488a312f3c6b6f4b9 authored over 13 years ago
Take variable assigments directly from the commandline.

As opposed to using capistrano's -s mechanism. This also means that all arguments are strings, s...

214941caf2f2b8290e83bb648df952e3f68bd24b authored over 13 years ago
Merge pull request #9 from lazyatom/master

Allow setting of numeric env variables

577e0679c5f6b19ff1ff8c619b40ddc2dcb19b47 authored over 13 years ago
Minor typo.

577edaecb210df7d43addf036430ddb87736a6cc authored over 13 years ago
Don't crash when setting variables to numbers.

I'm presuming that the hope here was setting an empty string would remove the variable. Unfortun...

447bb301b44787758a22f3c66d5ec9405b53dce4 authored over 13 years ago
A login shell is no longer needed. Yay!

2d935b1ecb6a505efb77afb89f825f37c7c18362 authored over 13 years ago
Don't forget to pass the pwd through

068ccfdd89d7d9864bd10b0f2950aa79e1a28185 authored over 13 years ago
And now some experimental environment variable stuff. It's almost there, I can smell it.

0ac30f7ebf074b89d606af00245b2f800f8aed41 authored over 13 years ago