Commit Graph

27 Commits

Author SHA1 Message Date
Olivier Ramonat
627e7862b1 Set PyPI long description content type
We're using README.md for the PyPI long description content,
with the new PyPI project we can now specify alternate format.
2019-05-16 15:08:53 +02:00
Olivier Ramonat
42f196c1ca Add a script to convert to anod API 1.5
And mark the API 1.5 as supported.
2018-05-23 15:58:32 -04:00
Olivier Ramonat
7b30a1e0ff Add long_description for PyPI 2017-09-05 07:29:19 -07:00
Olivier Ramonat
4f21ef0f3c Fix typo in classifier 2017-09-05 07:29:19 -07:00
Olivier Ramonat
ec9c6db3de Stevedore entry_point_names was added in 1.20.0 2017-05-21 00:56:58 +02:00
Olivier Ramonat
fb370894d6 Add a new sandbox action: exec
Add new action to execute an electrolyt plan in an anod sandbox:

   $ e3-sandbox exec --spec-dir ~/e3-specs --plan=plan.txt /it/sbx

Will read the anod specs at ~/e3-specs and run the plan actions in
the sandbox /it/sbx

e3-sandbox exec can also download specs using --spec-git-url argument
and create the sandbox.
2017-05-10 17:57:48 +02:00
SayfEddine
5d4d95b79d Fix Dependency linked to python version 2017-03-27 12:32:53 +02:00
Nicolas Roche
3df46173bf Add support for streamed multipart bodies in POST requests 2017-02-20 17:06:03 +01:00
Olivier Ramonat
825f576373 Remove netifaces from install_requires
This is added on specific platforms later
2017-01-24 12:33:10 +01:00
Olivier Ramonat
a74c199525 Do not require netifaces on Solaris and AIX
This package is only regularly tested on macOS, Linux, and Windows.
2017-01-23 11:41:13 +01:00
Olivier Ramonat
66e43fa422 Add missing package required by e3.log
Change-Id: I76210dd8f4ac64a3eb733ae53797393d85a8ba8f
2016-10-02 10:10:24 +02:00
Nicolas Roche
155c52e166 Use tqdm for progress bars and add automatic coloring of output
Part of P923-002

Change-Id: I943669d8c8a89ecbd9db464e82ebcc10fa41b75a
2016-10-01 14:16:31 +02:00
Olivier Ramonat
34dcf61392 Use environment markers for conditional dependencies
Use :sys_platform='<platform>' environment markers, as defined
by PEP 426, in extras_require so that these conditional
requirement are still present in the generated whl files.

Change-Id: Ie667b7d2f67f2b8306a46e9cc0ee1d0d439f798e
2016-09-08 16:52:54 +02:00
Olivier Ramonat
c0d3cffdce Add missing absolute_import imports
Change-Id: Ice41d1f0a9d9e8420da81992c7d1c19fae674300
2016-07-22 15:40:09 +02:00
Olivier Ramonat
bcd449ac9c Add a simple smtp based event backend
This is mostly meant to test the event framework and to be
the base implementation for other smtp based backends.

Change-Id: Id778a7681b4d4bfc4fa56fafcd275d7594d9bc5e
2016-07-21 15:06:17 +02:00
Olivier Ramonat
30c772085a Automatically generate a new version every day
e3 major + minor version is set to 20.08
The micro version is the build date (YYYYMMDD)

It it still possible to force the VERSION by writting a complete version
in the VERSION file (with at least two '.')

Change-Id: I11a0881c3de12f733688bdc7669652354b86e9e7
2016-06-17 16:18:28 +02:00
Nicolas Roche
09609dbef9 Separate declaration of BuildSpace and SandBox
Change-Id: Icbbcd26feded235cc65d7f8b92fe8f4dee898728
2016-04-26 16:49:32 +02:00
Nicolas Roche
7f9de2b379 ld package is only available on linux
Change-Id: I14b81cd9281cf171b1954684c896ddf90cdcb843
2016-04-20 14:50:46 +02:00
Olivier Ramonat
6aedd7f073 Always get e3 version from VERSION file
Update sanity_check() version check.

Change-Id: Ibc036e7eb22b8be1959a670782b8aed91ffb3042
2016-04-20 12:15:36 +02:00
Olivier Ramonat
367697efaf Use ld package to get the linux distribution
platform.linux_distribution is deprecated in Python 3.5 so
require the package ld available on pypi. This improves the
detection of new system and properly detects Ubuntu version.

Change-Id: Ic85482a2070b19b3ea688e9c5231229139f9366b
2016-04-20 12:15:36 +02:00
Olivier Ramonat
c85d623c86 Add function to dump and load the build space state
The build space metadata contains:

- the result of the last anod command
- the spec fingerprint content when the command was last
  executed

Use an Enum to keep the list of allowed return code, import the
module enum34 to have this functionality (a backport of Python 3).

Change-Id: Iac81fa28b2b67ddcf4a23691a4d23088fd7c76fc
2016-01-11 23:36:23 +01:00
Olivier Ramonat
0a4f270111 Initial implementation of the package store.
The store will be used to push and pull source and binary packages.
A cache system for the already downloaded packages is also available.

Both the store and the cache system are expected to be overrided using
the plugin system. Two basic implementation are provided:

- http-simple-store: a store that will just download packages using
  the url given in the query and check that the sha1 checksum is valid
- filecache: a cache system keeping metadata on disk using pickle

Change-Id: I19495e8e6a4e0ee92c8dc96cb396ade0febff0a7
2016-01-11 23:36:22 +01:00
Olivier Ramonat
c5af2dc1e3 Initial implementation of e3.net.http
Include a progress bar using clint during the file download.

Change-Id: I941762a164d3d9a65c973baa26bec8f0eb376307
2016-01-11 23:36:22 +01:00
Olivier Ramonat
9762f49e05 Initial documentation, including plugin system doc
Add a sphinx 'docs' directory, start the documentation and add a note
about the plugin system in CONTRIBUTING.md.

Change-Id: I5d2887dea8b31764f21088c9bd2e4cb95fa21e4a
2016-01-11 23:36:19 +01:00
Olivier Ramonat
deafa74179 Create entry-point for creating a sandbox
Use a plugin system (based on stevedore) for registering the
actions available on a sandbox. Add two actions in e3-core:

 - create: to create sandbox and retrieve Anod specification files
 - show-config: display information about an already created sandbox

Change-Id: Ic7c8aac4931d3c90b58ff5d0bcfca1550bf65c97
2016-01-11 23:36:19 +01:00