Commit Graph

153 Commits

Author SHA1 Message Date
M. Anthony Aiello
b96f9e28df Merge branch 'afrl-rq:develop' into integration 2021-09-27 15:37:55 -04:00
M. Anthony Aiello
e46ad051e8 Merge pull request #7 from manthonyaiello/feature/configure-vscode
Create anod command to generate VS Code config
2020-12-18 09:07:29 -05:00
M. Anthony Aiello
0256407686 Create anod command to generate VS Code config
This commit adds a new command to anod: `anod configure-vscode`. When
run, this command will create the file `c_cpp_properties.json` and place
it, by default, in `develop/OpenUxAS/.vscode`. The configuration will
include the necessary include search paths for the spec given.

The envisioned use case is during OpenUxAS development. When `anod
devel-setup` is run, `anod configure-vscode` is automatically run: this
yields the correct c_cpp_properties.json to provide full intellisense
for OpenUxAS development.

If desired, the user can override the default destination or can output
the configuration to STDOUT.
2020-12-10 13:57:51 -05:00
M. Anthony Aiello
e4792e58be Merge pull request #11 from afrl-rq/bugfix/fix-#9
Bugfix/fix #10
2020-09-17 17:22:23 -04:00
M. Anthony Aiello
114d248714 Fix for issue #8
Correct the approach to unshallow the original clone.
2020-09-17 13:24:49 -04:00
M. Anthony Aiello
2064624a0b Support ref-specs for bootstrap script. 2020-09-17 13:24:26 -04:00
lhumphrey
53abf5710c Merge pull request #5 from AdaCore/integration
Improve printenv. (#5)
2020-09-01 16:26:50 -04:00
M. Anthony Aiello
3369b6c6ac Improve printenv. (#5)
Support printing environments on a single line, suitable for inclusing
before a command. This is useful for integration with Make.

Also update the README, anticipating changes in OpenUxAS that will use
this feature.

Fix formatting issue in anod and paths
2020-09-01 09:44:41 -04:00
hamilj
807382ed8c Merge pull request #1 from AdaCore/develop
Be specific about python version.
2020-08-05 09:54:35 -04:00
M. Anthony Aiello
b5749b1aab Be specific about python version. (#1)
Make sure references to python in shebangs and in text specify python3
rather than simply python. This better supports convention of fresh
machines.
2020-08-04 15:41:19 -04:00
James Hamil
5b27b28dc5 Changes for afrl-rq repository 2020-07-27 13:09:57 -04:00
M. Anthony Aiello
79808e93c4 Provide autocompletion for run-example (#64)
Users will have to load this into their shell by sourcing the file,
either directly (at the command line) or in their .bashrc, like this:

	source /path/to/bootstrap/install/run-example-completion.bash

Then tab completion will show the output of --list in run-example.

Note that --list isn't actually entirely well-suited for this, so there
is extra garbage that is offered. A change would be needed to
run-example to give it a mode specifically for completion. This does
work, at present.

This also works for zsh.
2020-07-24 10:26:14 -04:00
M. Anthony Aiello
f4c7bf0d43 Update the uxas-ada spec for the new OpenUxAS org (#63)
This allows anod to build uxas-ada in the new, proposed reorganization
of OpenUxAS.
2020-07-23 22:14:12 -04:00
Joffrey Huguet
75e84e6c9b Merge pull request #62 from joffreyhuguet/anod_add_security_checks_for_downloads
Add security checks when downloading sources in anod
2020-07-15 16:06:52 +02:00
Joffrey Huguet
bfbec586ce Add security checks when downloading sources in anod
Remove the file if the downloading failed
Force to redownload if the stored checksum and effective checksum do not match
2020-07-09 12:56:53 +02:00
M. Anthony Aiello
486c2a64b6 Fix link for quick-start guide (#61) 2020-07-02 09:42:34 -04:00
M. Anthony Aiello
dc03cb2314 Final Updates to README (#59)
* Update README to specify curl and suggest pyenv

Curl is required and should not have been omitted. Since we mention 18.04, we should acknowledge that the system python is no good and point users to pyenv to install 3.8

* Updates from discussion

Add a quick-start section; clarify some of the getting-started sections; add a section on Ada.
2020-07-02 09:35:07 -04:00
M. Anthony Aiello
ba76b2be8f Add libncurses5 (#60)
This is not required to install GNAT CE, but it is required to run GNAT Studio. Since the goal of bootstrap is to get everything set up for the user, it seems more friendly to go ahead and install libncurses5 at the outset.
2020-07-02 09:34:48 -04:00
M. Anthony Aiello
3a77d0246d Remove bootstrap-devel and provide options in bootstrap (#57)
Rather than having a growing collection of bootstrap scripts, we provide a single bootstrap script whose behavior is controlled through environment variables.
2020-07-01 09:57:44 -04:00
M. Anthony Aiello
cd84cf1237 Update run-example to use new anod commands (#58) 2020-07-01 08:54:03 -04:00
M. Anthony Aiello
0d85f02ff1 Clean Up CI (#56)
Remove Travis config, since it's no longer needed.

Improve the naming in the Checks workflow and tweak the formatting of the file. Also add python 3.7 to the checks. This matters because the anod build will use python 3.7
2020-07-01 08:46:22 -04:00
M. Anthony Aiello
8ea2f114b8 Support python 3.7; install pyzmq & e3-testsuite (#53)
* Support python 3.7 and install pyzmq

The latter is needed for testing, and was omitted accidentally.

* Add e3-testsuite

Needed for running the Ada tests.
2020-06-25 16:01:13 -04:00
M. Anthony Aiello
1dc3d5bfaa Feature/finalize readme (#51)
Rebuild the README to reflect the current organization of the repository and expected usage.
2020-06-25 15:58:19 -04:00
M. Anthony Aiello
ba568eab47 Bootstrap will pass arguments to install/install (#52)
Run `curl | bash -s -- [arguments]` to use
2020-06-25 12:59:12 -04:00
M. Anthony Aiello
658da73543 Test github action (#50) 2020-06-24 09:41:03 -04:00