autoproj 2.0.3 → 2.1.0.rc1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +196 -10
  3. data/autoproj.gemspec +8 -8
  4. data/bin/alocate +12 -1
  5. data/bin/alog +8 -0
  6. data/bin/amake +12 -1
  7. data/bin/aup +12 -1
  8. data/bin/autoproj_bootstrap +15 -6
  9. data/bin/autoproj_install +15 -6
  10. data/lib/autoproj/cli/base.rb +15 -0
  11. data/lib/autoproj/cli/bootstrap.rb +3 -0
  12. data/lib/autoproj/cli/build.rb +6 -0
  13. data/lib/autoproj/cli/clean.rb +13 -5
  14. data/lib/autoproj/cli/doc.rb +8 -0
  15. data/lib/autoproj/cli/envsh.rb +3 -5
  16. data/lib/autoproj/cli/inspection_tool.rb +0 -16
  17. data/lib/autoproj/cli/main.rb +71 -52
  18. data/lib/autoproj/cli/main_test.rb +4 -0
  19. data/lib/autoproj/cli/osdeps.rb +5 -6
  20. data/lib/autoproj/cli/show.rb +1 -1
  21. data/lib/autoproj/cli/status.rb +77 -19
  22. data/lib/autoproj/cli/update.rb +16 -26
  23. data/lib/autoproj/configuration.rb +5 -0
  24. data/lib/autoproj/environment.rb +11 -1
  25. data/lib/autoproj/local_package_set.rb +2 -0
  26. data/lib/autoproj/manifest.rb +16 -0
  27. data/lib/autoproj/ops/cache.rb +3 -0
  28. data/lib/autoproj/ops/configuration.rb +3 -2
  29. data/lib/autoproj/ops/install.rb +13 -4
  30. data/lib/autoproj/ops/main_config_switcher.rb +3 -3
  31. data/lib/autoproj/ops/snapshot.rb +4 -7
  32. data/lib/autoproj/package_definition.rb +10 -0
  33. data/lib/autoproj/package_managers/bundler_manager.rb +1 -0
  34. data/lib/autoproj/package_managers/pip_manager.rb +1 -0
  35. data/lib/autoproj/package_set.rb +39 -6
  36. data/lib/autoproj/test.rb +8 -0
  37. data/lib/autoproj/version.rb +1 -1
  38. data/lib/autoproj/workspace.rb +13 -1
  39. data/samples/autoproj/README.md +60 -0
  40. data/samples/autoproj/init.rb +17 -18
  41. data/samples/autoproj/manifest +18 -34
  42. data/samples/autoproj/overrides.d/.gitattributes +1 -0
  43. data/samples/manifest.xml +2 -7
  44. metadata +64 -36
  45. data/samples/autoproj/README.txt +0 -52
  46. data/samples/autoproj/overrides.rb +0 -4
  47. data/samples/autoproj/overrides.yml +0 -18
  48. data/samples/osdeps.yml +0 -65
@@ -1,52 +0,0 @@
1
-
2
- Configuration of your autoproj build
3
-
4
- - CMake
5
- Since everything is CMake based, environment variables such as
6
- CMAKE_PREFIX_PATH are always picked up. You can set them
7
- in init.rb too, which will copy them to your env.sh script.
8
-
9
- Because of cmake's aggressive caching behaviour, manual options
10
- given to cmake will be overriden by autoproj later on. To make
11
- such options permanent, add
12
-
13
- package('package_name').define "OPTION", "VALUE"
14
-
15
- in overrides.rb. For instance, to set CMAKE_BUILD_TYPE for the rtt
16
- package, do
17
-
18
- package('rtt').define "CMAKE_BUILD_TYPE", "Debug"
19
-
20
- - Config files
21
- There are various file that influence your build:
22
-
23
- *.yml files: are simple 'key: value' pairs in the YAML format to set
24
- config options. This list is limited to what autoproj
25
- knows.
26
-
27
- *.rb files: are ruby scripts that can influence any part of the
28
- autoproj program, without modifying autoproj itself.
29
- This is only for advanced users that understand ruby
30
- and the internals of autoproj.
31
-
32
- - Configuration options
33
-
34
- config.yml: Save build configuration. You should not change it
35
- manually. If you need to change an option, run an
36
- autoproj operation with --reconfigure, as for
37
- instance
38
- autoproj build --reconfigure
39
-
40
- overrides.yml:
41
- Override branch information for specific packages.
42
- Most people leave this to the default, unless they
43
- want to use a feature from an experimental branch.
44
-
45
- - Influencing Autoproj ruby code:
46
-
47
- init.rb: Write in this file customization code that will get executed
48
- before autoproj is loaded.
49
-
50
- overrides.rb:
51
- Write in this file customization code that will get
52
- executed after autoproj loaded.
@@ -1,4 +0,0 @@
1
- # Write in this file customization code that will get executed after all the
2
- # soures have been loaded.
3
-
4
-
@@ -1,18 +0,0 @@
1
- # This file has the same format than the source.yml files. It can be used to
2
- # locally override version control information.
3
-
4
-
5
- # You can add sources for new packages
6
- #
7
- # version_control:
8
- # - orocos/rtt:
9
- # type: git
10
- # url: git://my.own.git.server
11
-
12
-
13
- # You can override source information for packages coming from the package
14
- # sets
15
- #
16
- # overrides:
17
- # - orogen:
18
- # branch: test
data/samples/osdeps.yml DELETED
@@ -1,65 +0,0 @@
1
- wxpython:
2
- ubuntu: python-wxgtk2.8
3
- arch: wxpython
4
- centos: wxPython-devel
5
- debian: python-wxgtk2.8
6
- log4cxx:
7
- ubuntu:
8
- 9.04: liblog4cxx10-dev
9
- 8.10: |
10
- if [ ! -f /opt/ros/lib/liblog4cxx.so.10 ] ; then
11
- mkdir -p ~/ros/ros-deps
12
- cd ~/ros/ros-deps
13
- wget --tries=10 http://pr.willowgarage.com/downloads/apache-log4cxx-0.10.0-wg_patched.tar.gz
14
- tar xzf apache-log4cxx-0.10.0-wg_patched.tar.gz
15
- cd apache-log4cxx-0.10.0
16
- ./configure --prefix=/opt/ros
17
- make
18
- sudo make install
19
- fi
20
- 8.04: |
21
- if [ ! -f /opt/ros/lib/liblog4cxx.so.10 ] ; then
22
- mkdir -p ~/ros/ros-deps
23
- cd ~/ros/ros-deps
24
- wget --tries=10 http://pr.willowgarage.com/downloads/apache-log4cxx-0.10.0-wg_patched.tar.gz
25
- tar xzf apache-log4cxx-0.10.0-wg_patched.tar.gz
26
- cd apache-log4cxx-0.10.0
27
- ./configure --prefix=/opt/ros
28
- make
29
- sudo make install
30
- fi
31
- debian:
32
- squeeze/sid: liblog4cxx10-dev
33
- lenny: |
34
- if [ ! -f /opt/ros/lib/liblog4cxx.so.10 ] ; then
35
- mkdir -p ~/ros/ros-deps
36
- cd ~/ros/ros-deps
37
- wget --tries=10 http://pr.willowgarage.com/downloads/apache-log4cxx-0.10.0-wg_patched.tar.gz
38
- tar xzf apache-log4cxx-0.10.0-wg_patched.tar.gz
39
- cd apache-log4cxx-0.10.0
40
- ./configure --prefix=/opt/ros
41
- make
42
- sudo make install
43
- fi
44
- fedora: log4cxx-devel
45
- arch: |
46
- if [ ! -f /usr/lib/liblog4cxx.so.10 ] ; then
47
- mkdir -p ~/ros/ros-deps
48
- cd ~/ros/ros-deps
49
- wget --tries=10 http://aur.archlinux.org/packages/log4cxx/log4cxx.tar.gz
50
- tar xzf log4cxx.tar.gz
51
- cd log4cxx
52
- makepkg
53
- sudo pacman -U log4cxx-*.pkg.tar.gz
54
- fi
55
- macports: |
56
- if [ ! -f /opt/ros/lib/liblog4cxx.so.10 ] ; then
57
- mkdir -p ~/ros/ros-deps
58
- cd ~/ros/ros-deps
59
- wget --tries=10 http://pr.willowgarage.com/downloads/apache-log4cxx-0.10.0-wg_patched.tar.gz
60
- tar xzf apache-log4cxx-0.10.0-wg_patched.tar.gz
61
- cd apache-log4cxx-0.10.0
62
- ./configure --prefix=/opt/ros
63
- make
64
- sudo make install
65
- fi