shadow-robot / sr-build-tools Goto Github PK
View Code? Open in Web Editor NEWContains build tools and rosinstall files for Shadow Robot's Software.
License: GNU General Public License v2.0
Contains build tools and rosinstall files for Shadow Robot's Software.
License: GNU General Public License v2.0
New pull requests issues should go straight into the Current list not Backlog.
There are multiple instances of the same issues in Trello Backlog, such as
[argos3d_p100_ros_pkg] #7 Publish amplitudes as image
[argos3d_p100_ros_pkg] #8 Fixes #7 Publish amplitudes as image
We should NOT set the password if the user exists.
Clean the sync script ready to be deployed to cron or jenkins.
Currently if an issue is closed and the re-opened we will create a new card in trello leaving the old archived card that was linked orphaned. This happens because we only query for open/not-archived issues and cards.
Not a big issue but a bit messy!
Probably don't want to be querying for all tickets on every run, only open issues keeps the working set (and http requests) to a sensible size. One way to fix this would be store the trello card id on the github issue (e.g. stashed in the description), could then use that to query for the archived card direct.
Convert the prototype bash scripts to puppet modules.
When a new repo gets added but not added to the trello team on github, the sync keeps adding cards over and over to backlog. sr_utils 1 and 2 have done this. No multi select in trello so need a quick clean up script.
The user used for the sync can only see it's self on giithub. The call:
for m in github_org.get_members():
Returns only the sync user. When run as myself (admin user) I see all the org members.
Need a base image for Indigo, which will also mean using Trusty.
The user setup for sync doesn't seem able to update issues, despite having perms to read and write those repo. Error logged:
[2014-02-07 12:20:44,946] ERROR - Card 52f3931266d34a1021421646: 404 {u'documentation_url': u'http://developer.github.com/v3', u'message': u'Not Found'}
[2014-02-07 12:20:45,367] ERROR - Card 52f39c72e185c99b440e9998: 404 {u'documentation_url': u'http://developer.github.com/v3', u'message': u'Not Found'}
Trying to update the labels (issue.edit(...)) triggers this. Works ok when using my login (an admin user).
Machines with ansible setup to install the source code into the users workspace.
Network setup for shared folders so people can work easily against the machine. E.g. share home. Should work for mac and win host machines ie use samba.
Needs a lock (pid) file so it only one sync can run at a time. Makes it safe to kick from command line with cron active.
To run virtual machines against the hand or a ronex we need to be able to access it over ethercat. Pretty sure the normal virtual network adapters wont support this (needs a test). It may be possible using a PCI pass through of the network card. If so what is supported hardware needed to make this work.
Add a variable to install additional ROS packages along with the main ros install. e.g.
ros_release: 'hydro'
ros_packages:
- 'shadow-robot-ethercat'
- 'shadow-robot'
Would install ros-hydro-shadow-robot
and ros-hydro-shadow-robot-ethercat
along with the main ros packages.
Will be in ansible/roles/ros_install/tasks/main.yml
Private repo for internal machine setups. Runs on minaton. We still develop all common roles etc in sr-build-tools, the private anasible will be configured to use a checkout of sr-build-tools and just contains the sensitive details like internal network setups.
Makes it possible to mount it from host for easy development on the vm.
If issue is marked with Bug then so should the Trello card.
Hello
Use following tree
vagrant/
dev/
hand
ronex
hand
ronex
experimental/
hand-indigo-trusty64
production/
hand
Currently hardcoded to ros_worksapce but should be made to just take a list of folders from config. Like:
shared_folders:
- ~ros/workspace
We have some scripts for setting up Jenkins slaves. Convert these to puppet so we can then create slave machines.
Does this appear?
Currently the background image and monospace font get set in site playbook for hand-demo-64 (ansible/vagrant_site.yml). Move these options to ros_user role. e.g.
ros_user_background: 'files/images/ShadowRobot-smaller.jpg_1280x1280.jpg'
ros_user_monospace_font: 'Ubunti Mono 11'
basically the opposite of these:
- name: Set autologin user to {{ros_user}}
when: ros_user_autologin
lineinfile: dest=/etc/lightdm/lightdm.conf line="autologin-user={{ros_user}}"
- name: Set autologin to true
when: ros_user_autologin
lineinfile: dest=/etc/lightdm/lightdm.conf line="autologin-user-timeout=0"
Makes it easy to connect to the vm
In glass bot the install of ar_pose will fail on 2nd run due to rosws set failing for existing entry.
rosws: error: Element {'git': {'local-name': 'ar_tools', 'uri': 'https://github.com/LucidOne/ar_tools.git'}} already exists, did you mean --detached ?
Needs a work around.
Do #39 first. Then should be able to add the packages and not install a workspace. May need to tweak some of the desktop files installed.
Note the the hand-hydro-precide64 machine still runs a workspace src based build.
In glassbot we are using a ssh auth sock pass through trick to access the private repos. When we have internal ansible we should be able to handle this a bit better. e.g. store credentials in a vault and use direct instead of needing loaded keys.
See comments on #48
Instead of archive move cards to Done list. Then we can see where we are at the end of the week. At start of sprint we check the list and then archive it.
Will also make #8 less of a problem, as a close re-open will work while the closed ticket is on the Done list. Sync should move it back to Current.
We create ros workspaces with group ros but need to also set the sticky bit so it works right with multiple users in group ros.
Existing gazebo hand running test machine needs converting to a puppet manifest from the existing shell script.
For dev machines only.
Converting the existing shell script built test machine to ansible. Can then form the basis of the other machines we need to create.
Deploy script to cron job on minaton or jenkins job.
Trello or Github as master for due date?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.