Commit graph

112 commits

Author SHA1 Message Date
Andre Nathan 4a61f87c51 Define missing constants
LXC_CLONE_KEEPBDEVTYPE and LXC_CLONE_MAYBE_SNAPSHOT
2014-01-16 16:44:23 -02:00
Andre Nathan 4e46b12685 Merge pull request #7 from ranjib/fix_tests
Tests should not fail if there are pre-existing containers
2014-01-15 02:17:59 -08:00
Ranjib Dey a98bc364a3 tests should not fail if there are pre-existing containers 2014-01-15 00:49:23 -08:00
Andre Nathan 519b08a497 Some more info in README. Mention rdoc. 2014-01-14 09:48:19 -02:00
Andre Nathan 9a65ddf036 Use symbols for container states 2014-01-14 09:24:00 -02:00
Andre Nathan 3ff240462e Use assert_nothing_raised 2014-01-14 08:54:43 -02:00
Andre Nathan 0c3abf0de2 Remove LXC.default_config_path, add LXC.global_config_item
Follows lxc@593e84786e2b4709059989bee489deab5c923779
2014-01-14 08:51:22 -02:00
Andre Nathan 67dd08eeeb Merge pull request #6 from ranjib/fix_readme
Change readme to point new lxc repo
2014-01-10 04:05:59 -08:00
Ranjib Dey db04c99bd0 change readme to point new lxc repo 2014-01-09 14:37:17 -08:00
Andre Nathan 339de1a81a Support large bdevs on 32-bit
This change follows lxc@d659597e03725411c366c42dc02c64c0c35a167a.
2014-01-09 08:33:25 -02:00
Andre Nathan 97b544a041 Merge pull request #5 from ranjib/fix_extconfig
[BUGFIX] Drop shared library inside lxc folder
2014-01-03 18:49:30 -08:00
Ranjib Dey b077728c7d drop shared library inside lxc folder 2014-01-03 18:22:19 -08:00
Andre Nathan c1ade416d7 Merge pull request #3 from jeremiahsnapp/master
Add ability to set backingstore type when creating a container
2014-01-03 16:31:43 -08:00
Jeremiah Snapp 960d7b9975 Add ability to set backingstore type when creating a container 2014-01-03 19:01:06 -05:00
Andre Nathan 4611a1b107 Merge pull request #2 from ranjib/travis
Add travis integration
2013-12-28 16:21:52 -08:00
Ranjib Dey 57eb166681 add 1.8.7 to travis build 2013-12-27 12:18:42 -08:00
Andre Nathan 7b16ea1e3d Add (still incomplete) RDoc. 2013-12-27 15:44:24 -02:00
Ranjib Dey 1ca2d1d268 Config file for travis ci integration 2013-12-27 04:09:02 -08:00
Ranjib Dey 3e488b56be Add a few specs against LXC singleton methods 2013-12-26 09:03:56 -02:00
Andre Nathan f2a6812c80 Add Container#rename 2013-12-23 15:59:41 -02:00
Andre Nathan 03eae61c02 LXC_CLONE_COPYHOOKS is gone 2013-12-23 15:15:25 -02:00
Andre Nathan 7758bcd930 Merge pull request #5 from ranjib/docs
Add docs.. show usage etc.
2013-12-23 06:56:41 -08:00
Andre Nathan d8f5613034 Fix handling of missing options hash in #attach 2013-12-23 12:48:13 -02:00
Andre Nathan 71eb2623f3 Fix index variable signedness 2013-12-23 12:13:28 -02:00
Andre Nathan 9a7ff00380 Merge pull request #2 from ranjib/bundler_support
Add bundler support
2013-12-23 06:07:17 -08:00
Andre Nathan 9365da3111 Fix freeing list of running containers 2013-12-23 12:03:54 -02:00
Ranjib Dey 8b14947d96 add docs 2013-12-23 00:44:32 -08:00
Ranjib Dey 6065b23652 add bundler support 2013-12-16 12:30:12 -08:00
Andre Nathan dd6f1ba24d Ignore tmp and pkg directories 2013-12-06 15:01:28 -02:00
Andre Nathan 582a9952f5 Rename tests 2013-12-06 15:00:10 -02:00
Andre Nathan afb05f0ac9 Fix tests 2013-12-06 14:59:20 -02:00
Andre Nathan 4fc49d6526 Remove debug prints 2013-12-06 14:59:09 -02:00
Andre Nathan 80529bcf79 Standardizing project structure 2013-12-06 14:59:02 -02:00
Andre Nathan adc97bb5d0 Adding lib, just defining LXC::VERSION 2013-12-06 14:20:50 -02:00
Andre Nathan 23321614d2 Removing Makefile 2013-12-06 14:20:30 -02:00
Andre Nathan 17718d6884 Ignore vim swap files 2013-12-06 14:02:35 -02:00
Andre Nathan 8740e075be Add tests for cgroups, freezing and cloning 2013-12-06 14:02:05 -02:00
Andre Nathan 9b2372ba10 Shutdown the container before stopping it 2013-12-06 14:01:31 -02:00
Andre Nathan d35c0be1e4 Fix cloning and return a Container instance 2013-12-06 14:00:06 -02:00
Andre Nathan c4bb23c6a6 More complete Container#ip_addresses test 2013-12-06 10:51:58 -02:00
Andre Nathan 057f8b3390 Just test for sys{read,write} in is_io() 2013-12-06 10:38:58 -02:00
Andre Nathan 892e1637b1 Accept string arguments 2013-12-06 09:37:29 -02:00
Andre Nathan 5c1d459b67 Fix argv 2013-12-06 09:36:51 -02:00
Andre Nathan a4fc5df066 Fix string array conversion to C, simplify freeing 2013-12-06 09:29:17 -02:00
Andre Nathan c75faed9ec Adding LXC::arch_to_personality and LXC::run_shell 2013-12-06 08:51:09 -02:00
Andre Nathan 772b8b80d7 Adding unit tests 2013-12-05 17:29:25 -02:00
Andre Nathan 8f86513c23 Fix LXC::run_command argument count 2013-12-05 17:29:01 -02:00
Andre Nathan 80ccf89619 Fix IO object test 2013-12-05 17:16:26 -02:00
Andre Nathan 9d78dac57e Implement LXC::run_command 2013-12-05 16:40:12 -02:00
Andre Nathan d06cb87dee Define constants in LXC, not in LXC::Container 2013-12-05 16:39:25 -02:00