ARCOR2 Build
Project description
arcor2_build
Environment variables
ARCOR2_BUILD_URL=http://0.0.0.0:5008
- by default, the service listens on port 5008.ARCOR2_BUILD_DEBUG=1
- switches logger to theDEBUG
level (useful to debug issues with publish/import).ARCOR2_REST_DEBUG=1
- may be used to debug problems related to communication with the Project service.ARCOR2_REST_API_DEBUG=1
- turns on Flask debugging (logs each endpoint call).
Changelog
The format is based on Keep a Changelog,
[0.21.0] - 2021-10-25
Changed
- Published archive name.
- The resulting zip name is
pkg_name_package.zip
. - Or
project_name_package.zip
when no package name is given.
- The resulting zip name is
[0.20.0] - 2021-09-07
Changed
- Updated
arcor2
dependency. - New environment variable
ARCOR2_BUILD_DEBUG
- to turn on debugging output.
[0.19.1] - 2021-09-02
Changed
- Added EXPOSE to dockerfile
[0.19.0] - 2021-07-30
Changed
- Depending on
arcor2==0.20.0
.
Fixed
- Package import failed in cases where files contained non-ascii characters.
- The problem was in
arcor2.rest
module which was not encoding data properly.
- The problem was in
- Scene/project
overWrite
flags were required all the time.
[0.18.0] - 2021-07-29
Changed
- Change constants to project parameters.
[0.17.0] - 2021-06-14
Changed
- Updated code generation for
Resources
(moved, now without parameters).
[0.16.0] - 2021-06-11
Changed
- OpenAPI definition updated.
[0.15.0] - 2021-05-21
Changed
overwrite
flag divided into:overwriteScene
,overwriteProject
,overwriteObjectTypes
,overwriteProjectSources
,overwriteCollisionModels
.- Action parameter value is always JSON.
- It used to be just string for link/constant types.
- Now it is always JSON to be more consistent.
- Support for multiple inheritance.
- ObjectTypes can now use mixins.
- It should be used like
class NewObjectType(MixinA, MixinB, Generic)
. - E.g. the last ancestor should be something derived from
Generic
.
- During a package import, object types used in a scene are checked whether they are not abstract.
[0.14.1] - 2021-04-19
Fixed
- Dependency on a bugfix release of arcor2.
[0.14.0] - 2021-03-30
Changed
- Considerably faster builds and imports.
- Allow unused actions.
- Import run returns
ImportedPackage
containing scene and project IDs.
[0.13.0] - 2021-03-15
Changed
- Dependency on arcor2 0.13.0.
- Generated
ActionPoints
class now returns copy of data (poses etc. can be freely modified within actions).
[0.12.1] - 2021-03-08
Fixed
- Bump dependency to arcor2 0.12.1 which fixes code generation in the
Pose
plugin. - Check whether ObjectType id (class name) is the same as its models id.
- The assertion was turned into exception.
[0.12.0] - 2021-03-03
Changed
- A new method
PUT /project/import
to import existing execution package.- Import fails if data already exists and there is any difference.
- Import can be forced by setting
overwrite
parameter.
Fixed
- Build now returns response messages in JSON.
[0.11.0] - 2021-02-08
Changed
- Part of the code refactored into
arcor2/flask.py
. - Support for explicit parameters in the main script.
Actions
class is no longer generated (does not make sense now).Resources
class is no longer generated (used to have actions parameters as properties).- Improved/adapted
ActionPoints
generated class.
- Support for project constants (parameter type
constant
). - An action can now use a previous result as its parameter (parameter type
link
).
[0.10.0] - 2020-12-14
Changed
- Ability to generate branched logic (if/elif block after action).
[0.9.2] - 2020-10-30
Changed
- ARCOR2 dependency updated
[0.9.1] - 2020-10-19
Changed
- ARCOR2 dependency updated
[0.9.0] - 2020-10-16
Changed
- Code generation adapted according to
print_exception
location change.
[0.8.1] - 2020-10-05
Added
- Build now has
--debug
argument (0e6e418).
Fixed
- Fixed empty response error (0edc1a6).
Changed
- Build now assembles the execution package in memory (7ac70d0).
[0.8.0] - 2020-09-24
Changed
- The first release of the separated package.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
arcor2_build-0.21.0.tar.gz
(16.2 kB
view details)
Built Distribution
File details
Details for the file arcor2_build-0.21.0.tar.gz
.
File metadata
- Download URL: arcor2_build-0.21.0.tar.gz
- Upload date:
- Size: 16.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cff20a4cb0a6858dfdc9a53b75e95ae03ae09c90f8542f5a95eb459304cfc444 |
|
MD5 | 7420fd6b925622fb1789f38ea7c43829 |
|
BLAKE2b-256 | 29c7129d0be549ae9c413dee6f732472c6d7a8823a996cdc930a8b67d47fd1d6 |
File details
Details for the file arcor2_build-0.21.0-py38-none-any.whl
.
File metadata
- Download URL: arcor2_build-0.21.0-py38-none-any.whl
- Upload date:
- Size: 16.5 kB
- Tags: Python 3.8
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9df0a13a9bf130d599fc4c3829a2ed8dde1041da2bfa8c9d4ed34de40fd24f6b |
|
MD5 | 6f9a7ab7c1b172ea406cb58e3f53d13f |
|
BLAKE2b-256 | 228a9d8fc2227ea991bc6f58de63a4a69eab6309e353afab7510077dcd24c835 |