B4A.PM

b4A Package B4A.PM

Details

Name
B4A.PM
Version
1.1.0
Description
Services for b4A Package Management
Supported
no
Dependencies
B4A.BASE >= 1.0.0 BBC.FILEOPS ~= 1.0.0 BBC.SHARED ~= 1.0.0 B4A.UTIL ~= 1.2.0 B4A.WEB ~= 1.0.0
Number of objects
64

Description

This b4A Package provides example services for the b4A Package Management. It contains examples for

  • initializing new b4A Packages
  • building b4A Package releases
  • installing the releases
  • running a compliance check on a b4A Package
  • checking the dependency definition of a b4A Package

Requirements

For the services to work the following requirements must be fulfilled:

  • configured and working b4A Package B4A.BASE
  • a proper configuration for the b4A Package Management
  • a Package Index including the base folder informationen (see documentation for the b4A module pm.Index)

Repository

The example services use a directory to store the b4A Package releases. The implementation is build to support Unix and Microsoft Windows systems for this shared directory.

SendTo Services

The package provides some scripts that can be used to register in the variable UC_SENDTO to provide developer services. The services work on each object of a package.

B4A.PM.SCRI.SENDTO#ADD-DOCU-TEMPLATE
A service to add documentation to objects of the package. The docuemntation to add can be found in the variable object named B4A.PM.DOCU.TEMPLATE-
B4A.PM.SCRI.SENDTO#GIT-PULL-BRANCH
A service to pull a version of the package from a given Git branch
B4A.PM.SCRI.SENDTO#GIT-PUSH
A service to push the current version of a package to a given Git branch

Release Notes

Version 1.0.0

  • Initial release

Version 1.0.1

  • [B4APKG-179] Installation is not executed even if there is no error in compliance and dependency check
  • [B4APKG-180] Error in PromptSet parameter

Version 1.1.0

  • [B4APKG-186] B4A.PM.JOBP.INIT-PACKAGE: Support default value for base folder* [B4APKG-210] B4A.PM.SCRI.DEPENDENCY-CHECK-STATUS: Generates at activation time
  • [B4APKG-244] Remove B4A.PM.VARA@EXEC.GET-SETTINGS and replace the usages
  • [B4APKG-245] Temp file is not deleted during install process
  • [B4APKG-207] Create DependencyCheck example with XML Variable and Mail Templates* [B4APKG-240] Convert report variables to runtime variables
  • [B4APKG-241] Rename service for dependency verification
  • [B4APKG-243] Include new dependency check in install service

Metadata

Key Value
Compatible with b4A ~= 5.0.0
Company best-blu consulting with energy GmbH
Description Services for b4A Package Management
Categories BEST4AUTOMIC/PM
Version 1.1.0
Built On 2024-01-09 10:39:12
Dependencies B4A.BASE >= 1.0.0;BBC.FILEOPS ~= 1.0.0;BBC.SHARED ~= 1.0.0;B4A.UTIL ~= 1.2.0;B4A.WEB ~= 1.0.0
Initialized On 2021-01-12 16:49:50
Installed On 2024-01-09 10:39:10
Supported no
Name B4A.PM

Content

Service

Name Title
B4A.PM.JOBP.BUILD-RELEASE Build of a b4A Package Release
B4A.PM.JOBP.COMPLIANCE-CHECK Compliance Check
B4A.PM.JOBP.CREATE-INDEX Creates or updates the Package Index
B4A.PM.JOBP.DEPENDENCY-CHECK Checks if the dependencies of a package are fulfilled in the destination client
B4A.PM.JOBP.DEPENDENCY-VERIFICATION Verification of Dependency Definitions
B4A.PM.JOBP.GIT-CHANGES Report Changes compared with Git
B4A.PM.JOBP.INIT-PACKAGE Initializes a new b4A Package
B4A.PM.JOBP.INSTALL-RELEASE Deployment of a b4A Package

Configuration

Name Title
B4A.PM.DOCU.TEMPLATE-JOBI Template for the documentation of JOBI objects
B4A.PM.DOCU.TEMPLATE-JOBP Template for the documentation of JOBP objects
B4A.PM.DOCU.TEMPLATE-SCRI Template for the documentation of SCRI objects
B4A.PM.DOCU.TEMPLATE-VARA Template for the documentation of VARA objects
B4A.PM.DOCU.TEMPLATE-VARA@BACKEND Template for the documentation of Backend VARA objects
B4A.PM.DOCU.TEMPLATE-VARA@EXEC Template for the documentation of EXEC VARA objects
B4A.PM.DOCU.TEMPLATE-VARA@MULTI Template for the documentation of Multi VARA objects
B4A.PM.DOCU.TEMPLATE-VARA@SQLI_SEC Template for the documentation of SQLI SEC VARA objects
B4A.PM.VARA.CATEGORIES A list of of categories for b4A Packages
B4A.PM.VARA.METADATA-TEMPLATE A template for the metadata of new b4A Packages
B4A.PM.VARA.SETTINGS Settings for the b4A Package
B4A.PM.VARA@XML.COMPLIANCE-CHECK#RUNTIME Stores results of a compliance check
B4A.PM.VARA@XML.DEPENDENCY-CHECK#RUNTIME Stores results of a dependency check
B4A.PM.VARA@XML.DEPENDENCY-DEFINITION-VERIFY#RUNTIME Stores results of a dependecy definition verification
B4A.PM.VARA@XML.GIT-CHANGES#RUNTIME Stores results of a Git change analysis
B4A.PM.VARA@XML.OPTIONS Collection of options for the services of this b4A Package

Sources & Documentation

Name Type Subtype Folder
B4A.PM.DOCU.RELEASE-NOTES DOCU /DOCUMENTATION
B4A.PM.JOBI.GET-PACKAGE-NAME JOBI /SOURCE
B4A.PM.JOBP.REPOSITORY_DOWNLOAD#SHARE JOBP /SOURCE/REPOSITORY
B4A.PM.JOBP.REPOSITORY_UPDATE-INDEX#SHARE JOBP IF /SOURCE/REPOSITORY
B4A.PM.JOBP.REPOSITORY_UPLOAD#SHARE JOBP /SOURCE/REPOSITORY
B4A.PM.JOBS.REPOSITORY_UPDATE-INDEX#SHARE@UNIX JOBS UNIX /SOURCE/REPOSITORY
B4A.PM.JOBS.REPOSITORY_UPDATE-INDEX#SHARE@WIN JOBS WINDOWS /SOURCE/REPOSITORY
B4A.PM.PRPT.BUILD-RELEASE PRPT /SOURCE/BUILD-RELEASE
B4A.PM.PRPT.COMPLIANCE-CHECK PRPT /SOURCE/COMPLIANCE-CHECK
B4A.PM.PRPT.CREATE-INDEX PRPT /SOURCE/CREATE-INDEX
B4A.PM.PRPT.DEPENDENCY-CHECK PRPT /SOURCE/DEPENDENCY-CHECK
B4A.PM.PRPT.DEPENDENCY-VERIFICATION PRPT /SOURCE/DEPENDENCY-VERIFICATION
B4A.PM.PRPT.GET-REPOSITORY PRPT /SOURCE
B4A.PM.PRPT.GIT-CHANGES PRPT /SOURCE/GIT-CHANGES
B4A.PM.PRPT.INIT-PACKAGE PRPT /SOURCE/INIT-PACKAGE
B4A.PM.PRPT.INSTALL-RELEASE PRPT /SOURCE/INSTALL-RELEASE
B4A.PM.PRPT.REPOSITORY_DOWNLOAD#SHARE PRPT /SOURCE/REPOSITORY
B4A.PM.PRPT.REPOSITORY_PACKAGE-LIST#SHARE PRPT /SOURCE/REPOSITORY
B4A.PM.PRPT.REPOSITORY_UPDATE-INDEX#SHARE PRPT /SOURCE/REPOSITORY
B4A.PM.PRPT.REPOSITORY_UPLOAD#SHARE PRPT /SOURCE/REPOSITORY
B4A.PM.PRPT.REPOSITORY_VERSION-LIST#SHARE PRPT /SOURCE/REPOSITORY
B4A.PM.PRPT.SENDTO#GIT-PULL-BRANCH PRPT /SOURCE/SENDTO
B4A.PM.PRPT.SENDTO#GIT-PUSH PRPT /SOURCE/SENDTO
B4A.PM.SCRI.COMPLIANCE-CHECK-STATUS SCRI /SOURCE/COMPLIANCE-CHECK
B4A.PM.SCRI.DEPENDENCY-CHECK-STATUS SCRI /SOURCE/DEPENDENCY-CHECK
B4A.PM.SCRI.DEPENDENCY-VERIFICATION-STATUS SCRI /SOURCE/DEPENDENCY-VERIFICATION
B4A.PM.SCRI.GET-REPOSITORY SCRI /SOURCE
B4A.PM.SCRI.PUBLISH-NEW-VERSION SCRI /SOURCE/BUILD-RELEASE
B4A.PM.SCRI.REPOSITORY_PACKAGE-LIST#SHARE SCRI /SOURCE/REPOSITORY
B4A.PM.SCRI.REPOSITORY_VERSION-LIST#SHARE SCRI /SOURCE/REPOSITORY
B4A.PM.SCRI.SENDTO#ADD-DOCU-TEMPLATE SCRI /SOURCE/SENDTO
B4A.PM.SCRI.SENDTO#GIT-PULL-BRANCH SCRI /SOURCE/SENDTO
B4A.PM.SCRI.SENDTO#GIT-PUSH SCRI /SOURCE/SENDTO
B4A.PM.VARA.METADATA VARA STATIC
B4A.PM.VARA.RELEASE-TYPES VARA STATIC /SOURCE
B4A.PM.VARA.REPOSITORY_PACKAGE-LIST#SHARE@EXEC VARA EXEC /SOURCE/REPOSITORY
B4A.PM.VARA.REPOSITORY_VERSION-LIST#SHARE@EXEC VARA EXEC /SOURCE/REPOSITORY
B4A.PM.VARA@EXEC.DATASTREAM#PACKAGE-LIST VARA EXEC /SOURCE
B4A.PM.VARA@EXEC.GET-REPOSITORY VARA EXEC /SOURCE
B4A.PM.VARA@EXEC.GET_METADATA_REMOTE VARA EXEC /SOURCE/BUILD-RELEASE