145 Commits

Author SHA1 Message Date
M. Anthony Aiello
9d3ff7104b Update README to reflect deprecation status 2021-11-06 05:38:53 -07: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
M. Anthony Aiello
42032a07df Install e3-core directly (#49)
Do not need to use the repo link anymore for this.
2020-06-24 09:40:37 -04:00
M. Anthony Aiello
2129f15918 Feature/rename setenv (#48)
* Rename setenv to printenv

This is done for anod internally and seems much more clear than `setenv` (given that it doesn't actually set anything).

Options to print the environment for the installer are also modified to `--printenv` which is consistent with internal anod.

Clean up the output of install - specifically, have it give a correct set of commands to add to the .profile.

Finally, use the better (safer) syntax for the eval, so the user can get used to it.
2020-06-24 09:09:30 -04:00
M. Anthony Aiello
acd1f3a425 Feature/fix anod help (#47)
* Fix anod help when a subcommand is given

Previously, --help would always short circuit, even if it was given after a subcommand. This made `anod build --help` unhelpful, as you'd not see the options for build.

This commit fixes that. Requires e3-core ≥ 22.1.0
2020-06-24 09:09:07 -04:00
M. Anthony Aiello
1f126ef792 Fix type-annotation related error (#46)
Missing from future caused runtime error on type annotation.
2020-06-24 09:08:44 -04:00
M. Anthony Aiello
8737b1d748 Feature/style checks (#45)
Support pre-commit checks used in AdaCore/e3-core

These are a good example of best style practices for python projects. Adding the associated badges to the README (even though it needs to be rewritten) so the commit is complete and consistent.

Documentation of how to set up and run the checks is in CONTRIBUTING.md
2020-06-23 09:54:41 -04:00
M. Anthony Aiello
d7ba4e23b3 Merge pull request #44 from manthonyaiello/feature/script-and-org-improvements
Feature/script and org improvements
2020-06-22 12:04:02 -04:00
M. Anthony Aiello
cb6317703e Eval-reminder banner should show proper command 2020-06-22 11:56:00 -04:00
M. Anthony Aiello
1023a8812b Clean up missing newline 2020-06-22 11:55:01 -04:00