Commit Graph

14 Commits

Author SHA1 Message Date
Yann MAGNIN aa21d9019c vxSDK - 0.12.0-40 : code review (WIP)
*update*
> [common]
  | use the new exposed "VxMmap" class in checkers
  | fix all source file layout
  | fix all source file function name formalism
  | fix all source file import/from order
  | fix all source file __all__ exposition
2023-03-25 19:52:02 +01:00
Yann MAGNIN 6529f1fe1f vxSDK - 0.12.0-39 : code review (WIP)
*update*
> [common]
  | add all python file module docstring
  | use the new exposed "VxMmap" class in checkers
  | add checker for module docstring
  | add checker for line length
  | fix missing __<special file>__.py
2023-03-17 18:25:35 +01:00
Yann MAGNIN 1912cfa6a7 vxSDK - 0.12.0-38 : code review (WIP)
*update*
> [common]
  | add all vxNorm checkers
  | fix all line than take more than 80 chars
2023-03-13 19:55:10 +01:00
Yann MAGNIN 3dbcb34f7c vxSDK - 0.12.0-37 : code review (WIP)
*update*
> [common]
  | fix all pylint notifications
  | proper isolate project core code
  | proper interface for configuration file abstraction
2023-03-11 20:34:08 +01:00
Yann MAGNIN ffadb2548a VxSDK - 0.12.0-31 : update package clonning interface
*add*
> [cli/pkg]
  ¦ [clone] add '-c,--confirm' flags to force user confirmation
  ¦ [clone] add '-o,--output' flags to allow user to install package anywhere
  ¦ [clone] add '--bare' flag to disable the global installation

*update*
> [cli/pkg]
  ¦ [clone] remove building operation in package clonning
> [core/build]
  ¦ [env] remove debug print
  ¦ [rules] export "VXSDK_PREFIX_SYSROOT" for sysroot support
> [core/pkg]
  ¦ [__init__] change "clone" exposed primitive to support "bare" option
  ¦ [backend/gitea] support bare cloning
  ¦ [backend/local] support bare install
  ¦ [clone] proper avoid remote search if the pacakge is in global storage
  ¦ [clone] support bare cloning / installation

*fix*
> [core/pkg]
  ¦ [backend/gitea] fix cloning timeout
  ¦ [backend/gitea] fix returned value if error
2023-01-06 14:32:58 +01:00
Yann MAGNIN f963ae1b93 VxSDK - 0.12.0-27 : fix configuration file + preparation for CMake build-system
@update
> [common]
  ¦ rename all log.warning() in log.warn()
> [core/build]
  ¦ [compile] support explicite extra environment variables setup
  ¦ [rules] support explicite extra environment variables setup

@fix
> [__main__]
  ¦ fix error log print
> [core/config]
  ¦ fix exception riasing if the configuration does not exists
2022-11-27 11:17:02 +01:00
Yann MAGNIN 4d21d36967 VxSDK - 0.12.0-23 : Refacto package part of the vxSDK + refacto logger
@update
> remove threading support
> core/logger
  | use class instead of functions
> __main__
  | use the new logger API
  | update help message
  | use a new "module-loading" methods : (`cli_validate()` and `cli_pase()`)
> cli/build
> core/build
  | expose new module interface for the main "module-loader"
  | use the new logger API
  | change exposed module name ('b' or 'build' -> 'build' only)
  | proper isolate the project-meta parsing
  | update internal comment and documentation
> cli/pkg
> core/pkg
  | expose new module interface for the main "module-loader"
  | use the new logger API
  | update help message
  | rename `vxsdk pkg install` -> `vxsdk pkg clone`
  | remove building steps
  | remove dependencies resolution
  | update backend handling
> core/config
  | proper cache support and I/O management

> cli/config
  | expose new module interface for the main "module-loader"
> cli/conv
  | expose new module interface for the main "module-loader"

@fix
> install.sh
  | fix update display
> cli/pkg
  | fix version display
  | fix CLI argument parsing
2022-11-03 10:43:24 +01:00
Yann MAGNIN e35295deaf VxSDK - 0.12.0-19 : First fonctional version!!
@update
<> cli/build/package
  | use new function signature
  | allow verbose during the building step of the project
  | remove the delayed start for async batch
  | block library build if it's the original package
<> core/pkg
  | use new function signature
  | proper clone and link dependencies
  | change backend package_clone() method signature (remove prefix)

@fix
<> core/async_batch
  | remove the magic destructor to avoid logger lock/unlock error. You must
      involve manually the "stop()" methods each time you want to stop the batch
<> core/build/meta
  | allow "lib" project type
<> core/logs
  | fix lock/unlock mechanism
<> core/pkg/backend/gitea
  | force-expand user configuration for the storage prefix
  | fix git clone subprocess check
<> core/pkg/backend/local
  | fix symbolic link creation if failed
<> core/pkg/version
  | fix version comparison if provided version are not well formatted
2022-08-02 16:36:55 +02:00
Yann MAGNIN 7f924e91f3 VxSDK - 0.12.0-18 : Add local package search (WIP !!)
@add
<> core/pkg/backend/local
  | handle local search
  | handle local version detection

@update
<> cli/pkg/install
  | update command line argument
  | prepare path handling isolation (backend-specific)
  | display package version location (remote, local, ...)
<> core/pkg
  | handle local and remote search (allow merge, target area search, ...)
<> core/pkg/backend
  | rename backend object
  | use a new backend object for local pacakge
  | handle user configuration
<> core/pkg/backend/core
  | isolate the package_find() methods (generic)
  | change methods signature for cloning (WIP)
<> core/pkg/backend/gitea
  | change exposed class name
  | add version source information
<> core/pkg/version
  | handle version source list (local, remote, ...)

@fix
<> core/logs
  | fix string display (remove unwanted start space)
2022-08-02 11:34:41 +02:00
Yann MAGNIN 2ae7e664c0 VxSDK - 0.12.0-17 : Fix build/install step (WIP !!)
@update
<> core/async_batch
  | allow delayed start (nexus)
  | allow delayed start (task)
  | use the new logger exclusivity lock system
  | rename title -> name
  | allow specific task waiting
<> core/build/project
  | add VXSDK_PKG_IS_ORIGINAL which indicate if the package is the original one
  | [workaround] add version information (wip)
  | fully support package build (asset, sources, installation)
  | isolate subprocess interaction (allow output capturing)

@fix
<> core/async_batch
  | handle sleeping task
  | fix display stream
  | fix batch stop
<> core/build/project
  | fix assets conversion
  | fix VXSDK_PREFIX_INSTALL for "application" package (like `sh-elf-vhex`)
  | handle sleeping task
  | fix batch stop
<> core/logs
  | fix threaded access to the module (mutex)
<> core/pkg/backend/gitea
  | fix LOG_ERR import
2022-07-31 10:25:57 +02:00
Yann MAGNIN e2c20f802c VxSDK - 0.12.0-15 : Threading abstraction (WIP !!)
@add
<> core/async_batch:
  | support threading task
  | allow task adding
  | handle display animation
  | handle task failed
<> core/thread
  | add mutex alias

@update
<> cli/pkg/install
  | use VxProject to build package
  | fully support project build
<> core/build/meta
  | remove unused code blocks
<> core/build/project
  | change build pipeline
  | add dependency graph generation
  | bootstrap project build pipeline
  | use new async task batch system
<> core/logs
  | properly expose logger_input
  | add exclusivity logger primitives
  | allow indent skipping flags
  | return the number of char printed
<> core/pkg
  | allow clone without dependencies
  | generate dependencies information
  | add "extra" package information support
  | remove deprecated "package" part of the module
2022-07-28 19:07:50 +02:00
Yann MAGNIN 5dfb2ef4a9 VxSDK - 0.12.0-14 : Logs depth + subcommand wrap (WIP !!)
@add
<> core/pkg/backend/gitea
  | add clone animation
<> core/subprocess
  | add subprocess wrapper which allow animation in background
<> core/thread
  | expose custom thread class
  | allow thread status checking

@update
<> core/logs
  | rename logger primitives
  | add logger "depth" features
<> core/pkg/backend/gitea
  | use the new subcommand wrapper
  | formalize logs
2022-07-21 11:32:53 +02:00
Yann MAGNIN eeeb6eca51 VxSDK - 0.12.0-13 : Package installation ! (WIP !!)
@add
<> cli/pkg/install
  | add fully support of the installation part (not build part yet)
<> core/config
  | add default value if the "config_get" cannot find the request
  | generate the default value in configuration file if the request is not found
<> core/pkg/__init__
  | add package clone with dependencies

@update
<> cli/pkg/__init__:
  | enable package installation
<> cli/pkg/install
  | expose new parsing entry
  | update the help message
  | refacto argument parsing
<> core/pkg/backend/__init__
  | create default value if not backend is specified by the user
<> core/pkg/backend/gitea
  | move gitea instance URL in backend loading
  | add more package information (date, author, branch, ...)
  | return list instead of tuple
  | refacto clone part

@fix
<> cli/pkg/search
  | fix specific version parsing
<> core/build/meta
  | fix exception message
  | replace old "warn()" primitive with "logger(LOG_WARN, ...)"
  | remove the return True at the end of the constructor
2022-07-20 11:31:11 +02:00
Yann MAGNIN d765673f56 VxSDK - 0.12.0-12 : Complete refacto ! (WIP !!)
This commit is the first of a commit series which will introduce the 0.13.0 of
the vxSDK. Many of the dirty architecture will be fixed and all module of the
project will be properly isolated.

@update
<> common:
  | isolate the "core" and the "cli" part
  | remove the old subcommand mechanism
  | refacto the "package" module : only "search" work
  | better log handling
  | better configuration handling
2022-07-19 14:42:58 +02:00