How to install devstack pointing mitaka milestone1? - devstack

I try to install the devstack using stack.sh, How to I clone the mitaka milestone1 for the devstack installation
For example
git clone http://git.openstack.org/openstack-dev/devstack mitaka it shows error

Please try this
git clone https://git.openstack.org/openstack-dev/devstack -b stable/mitaka

Related

How to test API from a ROS1 package that works with another ROS2 package?

I have found one ROS1 git repo/package. But it was tested with confirmed ROS Version : ROS Melodic Morenia and Ubuntu 18.04 LTS. So it can be build with catkin_build. Using the following commands
$ cd ~/
$ mkdir --parents catkin_ws/src
$ cd catkin_ws
$ catkin init
$ catkin build
A reference site about vcstool that builds packages after installing dependent packages and overlays your workspace on the installation environment
$ cd ~/catkin_ws/src
$ git clone https://github.com/ros1-package.git
$ sudo apt update
$ sudo apt install python-vcstool python-rosdep python-catkin-tools
$ git clone https://github.com/strv/vcstool-utils.git
$ rosdep install --from-paths ~/catkin_ws/src --ignore-src -r -y
$ ./vcstool-utils/import_all.sh -s .rosinstall ~/catkin_ws/src
$ catkin build
$ source ../devel/setup.bash
Then I have my own repo/package but it uses ROS2. I would like to try and test the existing API of the first ROS1 git repo/package to see if its works together with my own ROS2 package. Would appreciate a help how can proceed and how can test/try the API of the first ROS1 package with my own ROS2 package. Any help?
You can use the ROS 1 to ROS 2 bridge: https://github.com/ros2/ros1_bridge

I want to install git-secret on a windows machine

I found the command to install git-secret as 'chocolatey install git-secret' or 'scoop install git-secret' in a power shell. Both of the commands are giving errors as manifest not found. Is there any command with which I can install git-secret? Please help.
Perhaps this will be of help?
Launch a powershell instance as Administrator
PS C:\> git clone https://github.com/awslabs/git-secrets.git
PS C:\> cd git-secrets
PS C:\git-secrets> ./install.ps1
This could be wrapped-up in a chocolatey package if you are rolling this out to the masses.
Original solution found here:
https://faun.pub/git-secrets-installation-in-windows-60a29ff1260c

when i install AFNetworking using CocoaPods i get following error when i hit "$ pod install" command

when i install AFNetworking using CocoaPods i get following error when I hit
$ pod install command
error is
"YOU NEED AT LEAST GIT VERSION 1.8.5 TO USE COCOAPODS"
You have to right now this command in terminal
sudo xcode-select --switch /Applications/Xcode.app
Check git version by executing in terminal:
git --version
You can update/install git from here:
https://git-scm.com/download/mac
You have to download git version from here and Install it
https://git-scm.com/download/mac
It seems that you are facing this problem because your git version is older.
If you have installed Xcode (Xcode has the latest git built-in ), so you only need the terminal type:
sudo Xcode - select - switch/Applications /[your Xcode application name.app]
so that you can use the Xcode built-in git

Building Kurento on lubuntu 15.04

I am trying to build whole Kurento on my lubuntu 15.04 (same as ubuntu 15.04 vivid with different UI). I started by cloning all repos:
mkdir kurento
cd kurento
git clone https://github.com/Kurento/kms-jsonrpc.git
git clone https://github.com/Kurento/kurento-module-creator.git
git clone https://github.com/Kurento/kms-filters.git
git clone https://github.com/Kurento/kms-core.git
git clone https://github.com/Kurento/kms-elements.git
git clone https://github.com/Kurento/adm-scripts.git
git clone https://github.com/Kurento/kms-cmake-utils.git
git clone https://github.com/Kurento/kms-crowddetector.git
git clone https://github.com/Kurento/kms-pointerdetector.git
git clone https://github.com/Kurento/kms-platedetector.git
git clone https://github.com/Kurento/kurento-media-server.git
git clone https://github.com/Kurento/kms-plugin-sample.git
git clone https://github.com/Kurento/kms-opencv-plugin-sample.git
then installing kms-cmake-utils:
cd kms-cmake-utils
mkdir build
cd build
cmake ..
make install
ok done, it installs a bunch of files in cmake module directory. then I tried to install kms-core:
cd kms-core
mkdir build
cd build
cmake ..
but cmake stops with following error
-- checking for module 'KurentoModuleCreator'
-- package 'KurentoModuleCreator' not found
CMake Error at /usr/share/cmake-3.0/Modules/GenericFind.cmake:93 (message):
Library KurentoModuleCreator not found
I tried to install kurento-module-creator:
cd kurento-module-creator
mvn install
it complies and installs some files in .m2 directory. I don't have any experience with maven to know if it is done correctly.
However it doesn't resolves the error with kms-core. apparently, cmake find_package command is not able to locate FindKurentoModuleCreator.cmake. I couldn't find the file in any Kurento's repos. can anybody please tell me if I am doing st wrong?
By default, all kms related projects are ready to be build as debian packages.
Instead of using cmake and make install by hand, it will be easier for you to generate debian packages and install them.
The instructions to do generate are very simple:
export PROJECT_NAME=<project_name>
mkdir build_$PROJECT_NAME
cd build_$PROJECT_NAME
git clone https://github.com/Kurento/$PROJECT_NAME
cd $PROJECT_NAME
debuild -uc -us
Once debuild finishes successfully you will have some debian packages in build_<project_name> directory, you can just install them using:
sudo dpkg -i *deb
It is possible that debuild fails because dependencies are not met, in this case you may have to install them using apt-get or generate them if they are kurento dependencies.
Nevertheless, we have available all kurento packages (including some custom dependencies whose sources are also available on github), already compiled in kurento repository:
deb http://ubuntu.kurento.org trusty kms6
or in the dev channel that has all the master branches builds
deb http://ubuntu.kurento.org trusty-dev kms6
Packages are for trusty release, because they are generated using this release which is the officially supported by kurento, but they can generally be installed on 15.04 too.

PHP Fatal error: Class 'Phalcon\Script\Color' not found

I'm running Ubuntu Server 12.10 and have installed phalcon like this
sudo apt-get install php5-dev php5-mysql gcc git-core
git clone git://github.com/phalcon/cphalcon.git
cd cphalcon/build
sudo ./install
then I've added
extension=/usr/lib/php5/20100525/phalcon.so
to php.ini which located in /etc/php5/apache2/php.ini and restarted apache2. If I execute
<?php print_r(get_loaded_extensions()); ?>
I can see that the phalcon extension is loaded. Then I've installed phalcon-devtools like that
git clone git://github.com/phalcon/phalcon-devtools.git
cd phalcon-devtools
sudo ./phalcon.sh
and restarted apache2. No errors were shown during that operations, but when I'm trying to execute
phalcon commands
I get an error like this
PHP Fatal error: Class 'Phalcon\Script\Color' not found in /home/user/phalcon-devtools/phalcon.php on line 84
What I'm doing wrong?
So the problem was in php.ini for CLI, which is located in /etc/php5/cli/, after I added extension=/usr/lib/php5/20100525/phalcon.so there, I was able to use Devtools. Thanks to #NikolaosDimopoulos
Official documentation is a bit confusing so try this:
I think this is a problem of extension not loaded
After successfully compile steps:
sudo apt-get install php5-dev php5-mysql gcc git-core
git clone git https://github.com/Phalcon/cphalcon.git
cphalcon cd/build
sudo ./install
Create a new file called "30-phalcon.ini"
and within it call the extension Phalcon with this single line:
extension=phalcon.so
save the file and copy the folder "/etc/php5/apache2/conf.d /" and "/etc/php5/cli/conf.d/"
restart the server: sudo service apache2 restart
While the devtools do this:
sudo git clone https://github.com/phalcon/phalcon-devtools /var/www/devtools
then create a symbolic link to run via terminal:
1: sudo ln -s /var/www/devtools/phalcon.php /usr/bin/phalcon
2: sudo chmod ugo+x /usr/bin/phalcon
3: type "phalcon" in the terminal and see if it's work.
it should work now: D
I always install the devtools from the PEAR channel
pear channel-discover pear.phalconphp.com
pear install phalcon/Devtools
You might get an error that the Devtools are not in stable mode but (as of the time of this writing) you can use this command:
pear install phalcon/Devtools-0.5.0
Source