Task #3387

Building and deployment of distribution packages

Added by Jan Mach about 2 years ago. Updated 10 months ago.

Status:In ProgressStart date:03/22/2017
Priority:LowDue date:
Assignee:Jan Mach% Done:

0%

Category:Installation
Target version:Long running

Description

Long running task to record work progress

Continually develop and improve project building and package distribution.

Associated revisions

Revision c12344ec
Added by Jan Mach about 2 years ago

Improved postinst script in Debian package.

The postinst script now makes sure, that all configuration files and con scripts within /etc/mentat directory have correct ownerships and permissions. There was an issue with permissions of cron script for database watchdog and the result was the script was not running. Additionally few of the configuration files were executable and there were other irregularities, so it was fixed all at once. (Redmine issue: #3387)

Revision 53301002
Added by Jan Mach about 2 years ago

Improved gitignore file.

Made sure some more files will never make it to final repository. (Redmine issue: #3387)

Revision 07be3d64
Added by Jan Mach about 2 years ago

Improved gitignore file.

More tweaks in gitignore file, perhaps now it is more readable. (Redmine issue: #3387)

Revision 0d5bb6da
Added by Jan Mach about 2 years ago

Polishing of Gruntfile for better readability.

(Redmine issue: #3387)

Revision 1af8b894
Added by Jan Mach about 2 years ago

Moved Mentat deployment directory into subdirectory.

Mart of the files in repository will be published separatelly via Python wheels and PyPI. Mentat core deployment directory was moved into subdirectory, so that other deployment subdirectories may be in deploy directory. (Redmine issue: #3387)

Revision efc5e094
Added by Jan Mach about 2 years ago

Implemented build process for separate pynspect Python packages.

Pynspect library now has separate build process located in deploy/pynspect directory. There is a master makefile. Prior the build current version of library source code is synchronized to local directory, from which the Python packages are then built. The pynspect library still needs to be removed from Mentat package build process. (Redmine issues: #3393 and #3387)

Revision 564e14ad
Added by Jan Mach about 2 years ago

Added Python requirements file for pip.

(Redmine issue: #3387)

Revision 225c9e6d
Added by Jan Mach about 2 years ago

Added missing Python requirement.

(Redmine issue: #3387)

Revision 2877bc30
Added by Jan Mach about 2 years ago

Added empty placeholder files to include empty directories into git.

This fixed the issue with Sphinx complaining about missing expected directories during build process. (Redmine issues: #3361 and #3387)

Revision ab344361
Added by Jan Mach about 2 years ago

Modified pynspect package makefile to better suit buildbot based build system.

(Redmine issue: #3387)

Revision 53c2d644
Added by Jan Mach about 2 years ago

Fixed the non-functioning archive Grunt subcommand.

(Redmine issue: #3387)

Revision a00620cc
Added by Jan Mach about 2 years ago

Improved gruntfile to enable automatic package builds by Buildbot.

(Redmine issue: #3387)

Revision e97ad924
Added by Jan Mach about 2 years ago

Added build metadata to generated documentation.

Generated documentation now contains information about distribution and revision, from which it was generated. This information is presented on title page a buildbot system provides correct values during build process. This was user can clearly see, which documentation version for which distribution (production, development) he/she is currently browsing. (Redmine issues: #3361 and #3387)

Revision 4e8631a6
Added by Jan Mach almost 2 years ago

Removed deb package duplication from Grunt task.

This is not a widelly used feature and it was unnecessary complication for buildbot. (Redmine issue: #3387)

Revision 1ff4d4b6
Added by Jan Mach almost 2 years ago

Version bump to build new distribution.

(Redmine issue: #3387)

Revision d3656333
Added by Jan Mach almost 2 years ago

Changed default value for output queue for mentat-storage.py.

Default value must be none, otherwise it is not possible to turn the output queue off. (Redmine issues: #3364 and #3387)

Revision 59b51a06
Added by Jan Mach almost 2 years ago

Improved dependency handling for package installations.

Improved scripts for checking presence of Python library dependencies and for installing and upgrading those dependencies. Updated the requirements.pip file. (Redmine issue: #3387)

Revision ead1afa4
Added by Jan Mach almost 2 years ago

Changed package version handling in Grunt.

Package version is now represented as single string. This will enable better and easier version propagation into documentation and buildbot system. (Redmine issue: #3387)

Revision ba27b312
Added by Jan Mach almost 2 years ago

Propagated information about package version to documentation.

Version number gets propagated into autogenerated documentation. Buildbot system is responsible for generating appropriate metadata file. (Redmine issues: #3361 and #3387)

Revision 92d52dfd
Added by Jan Mach almost 2 years ago

Improved Debian package (pre|post)(inst|rm) scripts for better package installation.

(Redmine issue: #3387)

Revision 653bd1bb
Added by Jan Mach almost 2 years ago

Version bump to build new distribution.

(Redmine issue: #3387)

Revision 5a783df0
Added by Jan Mach almost 2 years ago

Propagating build number to Grunt and documentation.

Build number from Buildbot system now gets propagated to Grunt and autogenerated documentation. This feature is intended to be used for development (unstable) builds to somehow autoincrement the package version number. For production distributions this will be skipped and developer still has to set the desired version number manually. (Redmine issues: #3361 and #3387)

Revision dfcfd74f
Added by Jan Mach almost 2 years ago

Fix: Gruntfile tasks attempted to work with deprecated feature.

The duplication of recently built package to one with 'latest’ string instead of version number was deprecated, however some tasks still attempted to use the incorrect file name. (Redmine issue: #3387)

Revision 6c413bb6
Added by Jan Mach almost 2 years ago

Added master project Makefile.

This Makefile will be capable of launching all common tasks and ease both local development and automatic build with our build system. (Redmine issue: #3387)

Revision 94e817fe
Added by Jan Mach almost 2 years ago

Version bump to build new distribution.

(Redmine issue: #3387)

Revision 0fc18c72
Added by Jan Mach almost 2 years ago

Version bump to build new distribution.

(Redmine issue: #3387)

Revision 6ae698ec
Added by Jan Mach almost 2 years ago

Fix: Added geoip2 library into requirements.

(Redmine issue: #3387)

Revision b32c38bc
Added by Jan Mach almost 2 years ago

Improvements in default and demo configuration files.

Improved readability and comments in default and demo configuration files, added new mentat-enricher.py module to controlled suite instead of legacy Perl-based implementation. (Redmine issue: #3387)

Revision f97d432c
Added by Jan Mach almost 2 years ago

Moved the Pynspect library into separate git repository and started using git submodules.

The PyZenKit and Pynspect library are now part of the Mentat repository as submodules. Above all benefits this approach will enable better integration of documentation of all these projects into single bundle and provide better working environment for developers. (Redmine issue: #3387)

Revision 0133d697
Added by Jan Mach almost 2 years ago

Modified Debian’s postinst script to support new inspector, enricher and storage daemon modules.

(Redmine issue: #3387)

Revision 369f326e
Added by Jan Mach almost 2 years ago

Updated submodules to latest versions.

PyZenKit: 0.34
Pynspect: 0.5

(Redmine issue: #3387)

Revision 8c6542f4
Added by Jan Mach almost 2 years ago

Migration, refactoring and code style unification to support latest PyZenKit and Pynspect libraries.

This huge update represents a lot of work on many parts of the system. After major upgrade in PyZenKit and Pynspect libraries it was necessary to bring this project up to date. There were many changes in the code, lot of refactoring and while all this was done, code quality was improved, documentation written and unit tests modified. Many of these changes simply make sure, that the code works with latest versions of both libraries. This commit is supposed to be a single major feature upgrade, after this only smaller commits will follow to polish this huge amount of work.

(Redmine issues: #3374, #1017, #3361, #3387, #3443)

Revision 357464b9
Added by Jan Mach almost 2 years ago

Refactoring: Renamed master makefile to support automated build system.

(Redmine issue: #3387)

Revision b622f0d2
Added by Jan Mach almost 2 years ago

Upgraded PyZenKit submodule to version 0.35.

(Redmine issue: #3387)

Revision 3578c206
Added by Jan Mach almost 2 years ago

Version bump to build new distribution.

(Redmine issue: #3387)

Revision 9aab3aa2
Added by Jan Mach almost 2 years ago

Improvements in default daemon configuration files.

Added exhaustive descriptions to almos every configuration directive in all daemon module configuration files. Users should now get better understanding about the configuration possibilities. (Redmine issue: #3387)

Revision 0c4e0012
Added by Jan Mach almost 2 years ago

DEPLOY: Version bumped up to '0.4.0’ to build new distribution.

(Redmine issue: #3387)

Revision 6f81878c
Added by Jan Mach almost 2 years ago

Changed order of Python requirements.

(Redmine issue: #3387)

Revision b5628ce0
Added by Jan Mach almost 2 years ago

Removed Jinja2 Debian package from mentat-ng package dependencies.

(Redmine issue: #3387)

Revision c5e81274
Added by Jan Mach almost 2 years ago

Fixed invalid default interval value for mentat-statistician.py module.

(Redmine issue: #3387)

Revision affa9a4e
Added by Jan Mach almost 2 years ago

DEPLOY: Version bumped up to '0.4.4’ to build new distribution.

(Redmine issue: #3387)

Revision d9d68e0f
Added by Jan Mach almost 2 years ago

Upgraded PyZenKit submodule to version 0.36.

(Redmine issue: #3387)

Revision bda9ce9b
Added by Jan Mach almost 2 years ago

DEPLOY: Version bumped up to '0.4.5’ to build new distribution.

(Redmine issue: #3387)

Revision f60c0097
Added by Jan Mach almost 2 years ago

Added new master makefile target for local installation of Python dependencies.

For better integration with our build server it was necessary to implement simple makefile target, that will make sure that all necessary Python library dependencies are installed on current system. Another part of the commit is a small facelift of the make output: it is now colored for better readability (especially help) and some of the output for suppressed for more clarity. (Redmine issue: #3387)

Revision f12e4d2c
Added by Jan Mach over 1 year ago

Changed the name of the default make action.

(Redmine issue: #3387)

Revision bda72006
Added by Jan Mach over 1 year ago

Added makefile targets for installing additional third party dependencies.

Added targets to master makefile that will install geolocation and whois databases from third party services. These files are required not only in production, but also for testing process and our automated build system will use these targets to automatically install all requirements to successfully perform code checks and tests. (Redmine issue: #3387)

Revision 3c59f37e
Added by Jan Mach over 1 year ago

DEPLOY: Version bumped up to '0.4.13’ to build new distribution.

(Redmine issue: #3387)

Revision e93420ef
Added by Jan Mach over 1 year ago

Fix: Updated master makefile to call dependency installation script with proper arguments.

The '--stub’ argument will make sure the makefile works even on machines without access to CESNET’s internal Negistry service. (Redmine issue: #3387)

Revision b9675265
Added by Jan Mach over 1 year ago

Fix: Fixed unit tests.

All unit tests now pass, even though they still need a lot of work and in some case do not do much of a testing. But at least the testing feature can be now enabled on the automated build system. As the unit tests will get improved in time, the deployment process will get more and more reliable. (Redmine issue: #1017,#3387)

Revision 66561822
Added by Jan Mach over 1 year ago

Improvements in master makefile.

Added more makefile recipes for library code checking, both by pyflakes and pylint. Also the style of the help message was tweaked a bit to look better. (Redmine issue: #3387)

Revision 459dd2e1
Added by Jan Mach over 1 year ago

Upgraded Pynspect submodule to version 0.6.

(Redmine issue: #3387)

Revision a49772a5
Added by Jan Mach over 1 year ago

DEPLOY: Version bumped up to '0.4.18’ to build new distribution.

(Redmine issue: #3387)

Revision 51e02688
Added by Jan Mach over 1 year ago

Fixed all issues in mentat.module.precache with pylint.

These changes fix broken build (Redmine issue: #3443,#3387).

Revision 17881d9c
Added by Jan Mach over 1 year ago

Added master makefile target show-version for showing current project version.

This feature will be used in our automated build system. (Redmine issue: #3387)

Revision 1f2983f0
Added by Jan Mach over 1 year ago

Refactoring: Renamed MMakefile to Makefile.

To support latest version of our automated build system it was necessary to rename master project makefile from MMakefile to simply Makefile. (Redmine issue: #3387)

Revision b7b1578e
Added by Jan Mach over 1 year ago

Configuration for Sphinx-doc will now fetch current version directly from Mentat package.

This means that there is one less place to manually increment the version number when deploying new package. There still remains the issue with making the same thing for Grunt configuration. (Redmine issue: #3361,#3387)

Revision 058bbb3a
Added by Jan Mach over 1 year ago

Removed package version autoincrementation feature from Grunt.

While it was usefull in the past, it makes much more sense to force developer to manually increment package version number to have more control. (Redmine issue: #3387)

Revision 0336f6e9
Added by Jan Mach over 1 year ago

DEPLOY: Version bumped up to '0.4.19’ to build new distribution.

(Redmine issue: #3387)

Revision 1c2a8734
Added by Jan Mach over 1 year ago

Upgraded Pynspect submodule to version 0.10.

(Redmine issue: #3387)

Revision cef87292
Added by Jan Mach over 1 year ago

DEPLOY: Version bumped up to '0.4.20’ to build new distribution.

(Redmine issue: #3387)

Revision 079aa799
Added by Jan Mach over 1 year ago

DEPLOY: Version bumped up to '0.4.50’ to build new distribution.

(Redmine issue: #3387)

Revision 23e70e4e
Added by Jan Mach over 1 year ago

Updated package.json file for usage with yarn frontend package manager.

The libraries for web user interface implementation will be managed using the yarn package manager (currently recommended on Bower site). The package.json file now contains list of libraries that are/will be needed for user interface. (Redmine issue: #3387)

Revision ac9c033a
Added by Jan Mach over 1 year ago

Updated grunt tasks to enable building and packaging Hawat interface in our automated build system.

(Redmine issue: #3387)

Revision 6fede325
Added by Jan Mach over 1 year ago

Fix: Fixed errors in hawat.db module detected by pylint, that broke the build.

(Redmine issue: #3443,#3387)

Revision 1d3dc210
Added by Jan Mach over 1 year ago

Added makefile target alias for pybabel-extract and pybabel-update called pybabel-pull to extract and update translations in single command.

(Redmine issue: #3387)

Revision 2286d52d
Added by Jan Mach over 1 year ago

Fixed the gitignore file to ignore frontend libraries from third party vendors.

(Redmine issue: #3387)

Revision 572184d9
Added by Jan Mach over 1 year ago

Added makefile target for bootstrapping PostgreSQL databases and user accounts for Mentat system to allow automated builds.

(Redmine issue: #3387)

Revision 4d1a4d69
Added by Jan Mach over 1 year ago

Added more specific PIP requirements file.

To make sure, that update of any dependency does not break working project, PIP requirements file with specific version numbers was added. It contains correct versions of all dependencies with which the project should definitelly work. (Redmine issue: #3387)

Revision b323376d
Added by Jan Mach over 1 year ago

Fix: Fix for Pylint error on automated build system.

E:422,34: Module 'traceback’ has no 'TracebackException’ member (no-member)

(Redmine issue: #3443,#3387)

Revision 43a61dcf
Added by Jan Mach over 1 year ago

Fix: Unit tests for whois enricher plugin must use and populate different database for all tests.

(Redmine issue: #1017,#3387)

Revision 59315c86
Added by Jan Mach over 1 year ago

Added WSGI script for Hawat into package binary folder.

(Redmine issue: #3387)

Revision 5aa2c92b
Added by Jan Mach over 1 year ago

Fix: Corrected invalid value for default Hawat log file.

(Redmine issue: #3387)

Revision 0b32b4e4
Added by Jan Mach over 1 year ago

Added local Hawat configuration file to list of files ignored by Git.

(Redmine issue: #3387)

Revision aacf2c88
Added by Jan Mach over 1 year ago

Implemented new 'random-count’ feature for mentat-ideagen.py module.

It is now possible to use new 'random-count’ feature for generating random number of test messages (up to the given limit). This feature can be very usefull for test and demonstration deployments. (Redmine issue: #3387)

Revision eea78bfe
Added by Jan Mach over 1 year ago

Hotfix: Disabled broken tests to let automated build pass.

(Redmine issue: #1017,#3387)

Revision ce280121
Added by Jan Mach over 1 year ago

Updated submodules to latest versions.

PyZenKit: 0.39
Pynspect: 0.12

(Redmine issue: #3387)

Revision cc007dde
Added by Jan Mach over 1 year ago

DEPLOY: Version bumped up to '0.4.55’ to build new distribution.

(Redmine issue: #3387)

Revision 2e182fa5
Added by Jan Mach over 1 year ago

Fix: Fixed many issues including reported by Pylint tool.

The fixes include one build breaking error and many small code quality improvements. (Redmine issue: #3387,#3443)

Revision 6796b8b3
Added by Jan Mach over 1 year ago

Implemented example configuration file for Hawat web interface deployment with Apache2.

(Redmine issue: #3387)

Revision 4a7dd69e
Added by Jan Mach over 1 year ago

Improved PostgreSQL database initialization script to better register 'ip4r’ extension.

(Redmine issue: #3387)

Revision c25d926e
Added by Jan Mach over 1 year ago

Fix: Disabled build breaking tests.

Test in mentat.system module need more thinking, they were used for development and debugging, however they fail on deployment server (because those locations do not exist). Testing this module will be little bit tricky and will require to create fake filesystem structures. (Redmine issue: #1017,#3387)

Revision da3f7e79
Added by Jan Mach over 1 year ago

DEPLOY: Version bumped up to '0.4.60’ to build new distribution.

(Redmine issue: #3387)

Revision 63190add
Added by Jan Mach over 1 year ago

DEPLOY: Version bumped up to '0.4.70’ to build new distribution.

(Redmine issue: #3387)

Revision 5e63560f
Added by Jan Mach about 1 year ago

Updated the pyzenkit library to version '0.42’ and pynspect to version '0.12’.

(Redmine issue: #3387)

Revision e3f98e3f
Added by Jan Mach about 1 year ago

Updated the pynspect library to version '0.13’.

(Redmine issue: #3387)

Revision 6c93520b
Added by Jan Mach about 1 year ago

Updated the pyzenkit library to version '0.43’.

(Redmine issue: #3387)

Revision 34832a64
Added by Jan Mach about 1 year ago

DEPLOY: Version bumped up to '0.5.0’ to build new distribution.

(Redmine issue: #3387)

Revision a171a3ed
Added by Jan Mach about 1 year ago

Refactored table rendering macro for informant reports, added common constant translations.

(Redmine issue: #3387)

Revision 54f636ff
Added by Jan Mach about 1 year ago

Added makefile target for compiling all available translations to dependency target.

Package deployment and unit tests failed due to nonexistence of translations. (Redmine issue: #3387)

Revision 80a99798
Added by Jan Mach about 1 year ago

Disabled badly written unit test for fetcher script.

This unit test caused complications on automated deployment system and needs to be rewritten. (Redmine issue: #3387,#1017)

Revision 0e4a7e26
Added by Jan Mach about 1 year ago

Enhanced mentat-reporter.py module with source filtering feature.

The reporter can now put already reported events on hold for certain configured period of time, so that report recipients have some time to deal with the report without being bothered again. This mechanism is called thresholding. (Redmine issue: #3387)

Revision 6e690082
Added by Jan Mach about 1 year ago

Removed help section from event report emails.

After another consideration the help section (attachment) was removed in favor of using link to a webpage, that will contain the help section. (Redmine issue: #3387)

Revision 203c5e10
Added by Jan Mach about 1 year ago

Added cron script for periodical executions of mentat-reporter.py module.

The reporter was configured to run every 10 minutes by default. (Redmine issue: #3387)

Revision 179044b2
Added by Jan Mach about 1 year ago

Added default logrotate script for Mentat log files.

(Redmine issue: #3387)

Revision c001c3c0
Added by Jan Mach about 1 year ago

Reviewed the manifest of configuration files in Debian package configuration file.

Added missing configuraion files for various Mentat modules and localization catalogs to the conffiles meta configuration file. (Redmine issue: #3387)

Revision 83b7416f
Added by Jan Mach about 1 year ago

Added compilation of translation message catalogs for reporters to package build process.

(Redmine issue: #3387)

Revision 02f6a1c4
Added by Jan Mach about 1 year ago

Refactoring: Prefixed babel makefile targets related to Hawat interface with 'h’.

(Redmine issue: #3387)

Revision aa24b19b
Added by Jan Mach about 1 year ago

Made ordnung in cronjob files in configuration directory.

  • All cronjob files were moved into separate subdirectory within main Mentat`s configuration directory.
  • Naming convention for cronjob files was changed from 'cron_module’ to 'module.cron’.
  • Made appropriate changes in other relevant modules.

(Redmine issue: #3387)

Revision 79bfca53
Added by Jan Mach about 1 year ago

Fix: Fixed manifest of configuration files within Debian package.

(Redmine issue: #3387)

Revision f11e67ae
Added by Jan Mach about 1 year ago

Made ordnung in configuration file directory by moving demo configuration files into separate subdirectory.

(Redmine issue: #3387)

Revision 25b87d5a
Added by Jan Mach about 1 year ago

Big overhaul of default configuration and cron files for all Mentat modules.

This patch attempts to make installation of Mentat system as simple as possible by improving the default configuration and cron files for each of the Mentat modules. The goal is to have most of the system up and running after the installation with as less configuration changes as possible. There are however some things that can not be configured in advance, for example email addresses for various reporting, so these are all directed to the local root. (Redmine issue: #3387)

Revision 0432fe47
Added by Jan Mach about 1 year ago

Fix: Renamed cron files to correct format.

Cron files in cron directory are not permitted to have any extension. This patch corrects previous mistake, because cron daemon was not executing any cronjobs. (Redmine issue: #3387)

Revision b5d55021
Added by Jan Mach about 1 year ago

Fix: Fixed documentation and unit tests after changing the naming convention for cron files.

(Redmine issue: #3387)

Revision 88e5e0e1
Added by Jan Mach about 1 year ago

Upgraded third-party web interface libraries.

(Redmine issue: #3734,#3387)

Revision 4461d0c8
Added by Jan Mach 12 months ago

Updated list of Debian package conffiles to contain new event report related customizable files.

(Redmine issue: #3387)

Revision 0dc1ec6c
Added by Jan Mach 12 months ago

Upgraded Pynspect submodule to version 0.14.

(Redmine issue: #3387)

Revision af2bf47e
Added by Jan Mach 12 months ago

Updated ipranges library to version 0.1.10 and typedcols library to 0.1.13.

(Redmine issue: #3387)

Revision 586c9bf2
Added by Jan Mach 12 months ago

DEPLOY: Version bumped up to '0.6’ to build new distribution.

Additionally we have abandoned the third level of versioning. The Mentat project is not that big for that to be necessary, for deployment builds there is always another version level added by our automated build system. (Redmine issue: #3387)

Revision f2a42c2c
Added by Jan Mach 12 months ago

DEPLOY: Version bumped up to '0.6.1’ to build new distribution.

Had to return back the third level in versioning schema because npm aparently can not cope with only two levels...sad, very, very sad. It took me an hour to find out why npm suddenly refuses to install node modules on our automated build system. (Redmine issue: #3387)

Revision 831b53ed
Added by Jan Mach 12 months ago

Minor improvements in data migration script.

Slightly improved documentation and script output. (Redmine issue: #3387)

Revision 870d557f
Added by Jan Mach 12 months ago

Implemented example Apache configuration file for Basic authentication.

There are two Apache example configurations now, first is an example for Shibboleth SSO authentication, second is an example for Basic authentication. Using these two examples (especially the latter) it is possible to very quickly set up demonstration installation. The installation page was updated accordingly to reflect new installation options. (Redmine issue: #3387,#3361)

Revision 80a01070
Added by Jan Mach 12 months ago

Removed unnecesary directory from Git.

The 'vendor’ directory containing third-party client libraries for web interface should never have gotten into the repository in the first place. (Redmine issue: #3387)

Revision 5da46b3f
Added by Jan Mach 12 months ago

Updated third-party libraries for web interface and buildding packages with Grunt.

(Redmine issue: #3387)

Revision 9e2e7bbf
Added by Jan Mach 12 months ago

DEPLOY: Version bumped up to '0.6.2’ to build new distribution.

(Redmine issue: #3387)

Revision 77dd0752
Added by Jan Mach 11 months ago

DEPLOY: Version bumped up to '0.7.0’ to build new distribution.

(Redmine issue: #3387)

Revision 011b8f43
Added by Jan Mach 11 months ago

Changed demo account manager to maintainer (there is no manager role).

(Redmine issue: #3387)

Revision daca7794
Added by Jan Mach 11 months ago

Implemented new database administration commands to mentat-dbmngr.py module.

Implemented reinit-main command for main database schema reinitialization. Implemented fixtures-add and fixtures-remove command for inserting respectively deleting demonstration data objects (user accounts, groups, filters and networks). This will enable use to make demonstration isntallations more easy and smooth. (Redmine issue: #3383,#3387)

Revision c26f5c15
Added by Jan Mach 11 months ago

DEPLOY: Version bumped up to '0.8.0’ to build new distribution.

(Redmine issue: #3387)

Revision 2fd506d2
Added by Jan Mach 11 months ago

Improved czech web interface and report translations.

(Redmine issue: #3387)

Revision 44db90e4
Added by Jan Mach 11 months ago

DEPLOY: Version bumped up to '0.9.0’ to build new distribution.

(Redmine issue: #3387)

Revision d64ca848
Added by Jan Mach 11 months ago

DEPLOY: Version bumped up to '0.9.1’ to build new distribution.

(Redmine issue: #3387)

Revision e4843579
Added by Jan Mach 11 months ago

Ipgraded third party web interface libraries and FontaAwesome to version 5.1.0.

(Redmine issue: #3387)

Revision b8a1b58d
Added by Jan Mach 11 months ago

DEPLOY: Version bumped up to '0.9.2’ to build new distribution.

(Redmine issue: #3387)

Revision 667ae8ed
Added by Jan Mach 11 months ago

Updated the pyzenkit library to version '0.45’.

(Redmine issue: #3387)

Revision 5e8235dd
Added by Jan Mach 11 months ago

Major improvements in bash completion script for Debian.

All script and daemon modules are now autocompleted. (Redmine issue: #3387)

Revision 9f339512
Added by Jan Mach 11 months ago

DEPLOY: Version bumped up to '0.9.3’ to build new distribution.

(Redmine issue: #3387)

Revision 98c0e9fd
Added by Jan Mach 11 months ago

DEPLOY: Version bumped up to '0.9.4’ to build new distribution.

(Redmine issue: #3387)

Revision 011e6230
Added by Jan Mach 11 months ago

Implemented Debian SysV init file and Systemd service unit files for Mentat system.

(Redmine issue: #3387)

Revision dc3c4ea5
Added by Jan Mach 11 months ago

Fix: Fixed invalid path in Debian postinst script.

(Redmine issue: #3387)

Revision ba01497a
Added by Jan Mach 11 months ago

Updated demo configuration fole for mentat-controller.py module according to latest code version.

(Redmine issue: #3387)

Revision cc4e40c9
Added by Jan Mach 11 months ago

Implemented new user-add command to mentat-dbmngr.py module.

This command will be very usefull to insert initial admin user account after first Mentat installation. (Redmine issue: #3383,#3387)

Revision c2318267
Added by Jan Mach 11 months ago

Added sudo into the Debian package dependencies.

Sudo is used in database initialization script. (Redmine issue: #3387)

Revision eb58e4f0
Added by Jan Mach 11 months ago

Refactoring: Renamed cronjob file.

(Redmine issue: #3387)

Revision 12593360
Added by Jan Mach 11 months ago

Added cronjob to Debian package configuration files.

(Redmine issue: #3387)

Revision 3ed009ce
Added by Jan Mach 11 months ago

Removed libapache2-mod-wsgi-py3 package from direct Debian package dependencies.

Base package should be independent on actual webserver used to serve the web interface. (Redmine issue: #3387)

Revision 4f2eaa0c
Added by Jan Mach 11 months ago

Fix: Removed '.cron’ suffix from example installation commands in cron files.

Cron daemon does not recognize cron files with '.' character in the name. (Redmine issue: #3387)

Revision 5d12a1d2
Added by Jan Mach 11 months ago

Improved Mentat installation documentation page.

There is a lots of hidden work here in this commit. To make the installation process even more simple, we have prepared three Ansible roles available via official Ansible Galaxy site, that can very quickly install and configure Mentat system. (Redmine issue: #3361,#3387)

Revision 7620a44a
Added by Jan Mach 11 months ago

DEPLOY: Version bumped up to '0.10.0’ to build new distribution.

(Redmine issue: #3387)

Revision 158a4c07
Added by Jan Mach 10 months ago

DEPLOY: Version bumped up to '0.11.0’ to build new distribution.

(Redmine issue: #3387)

Revision b2152b76
Added by Jan Mach 10 months ago

DEPLOY: Version bumped up to '0.12.0’ to build new distribution.

(Redmine issue: #3387)

Revision f32badd4
Added by Jan Mach 10 months ago

DEPLOY: Version bumped up to '0.13.0’ to build new distribution.

(Redmine issue: #3387)

Revision 62993473
Added by Jan Mach 10 months ago

Updated the pyzenkit library to version '0.49’.

(Redmine issue: #3387)

Revision aa201866
Added by Jan Mach 10 months ago

DEPLOY: Version bumped up to '0.14.0’ to build new distribution.

(Redmine issue: #3387)

Revision d07982b7
Added by Jan Mach 10 months ago

DEPLOY: Version bumped up to '0.15.0’ to build new distribution.

(Redmine issue: #3387)

Revision 8628200e
Added by Jan Mach 10 months ago

DEPLOY: Version bumped up to '0.15.5’ to build new distribution.

(Redmine issue: #3387)

Revision 93b826f0
Added by Jan Mach 10 months ago

Updated FontAwesome to version 5.2.0 and also other third-party libraries.

(Redmine issue: #3387)

Revision ceff8f05
Added by Jan Mach 10 months ago

Fix: Fixed fetch-geoipdb.sh script to check that database files are indeed installed.

The previous version was not able to detect that files were indeed successfully installed into target folder. There was a report, that when the script was executed with insufficient permissions, it reported success even when no database files were actually installed. This is fixed now. (Redmine issue: #3387)

Revision 7ea58e72
Added by Jan Mach 10 months ago

DEPLOY: Version bumped up to '0.15.6’ to build new distribution.

(Redmine issue: #3387)

Revision ccf13761
Added by Jan Mach 10 months ago

DEPLOY: Version bumped up to '0.16.0’ to build new distribution.

(Redmine issue: #3387)

Revision 104b127a
Added by Jan Mach 10 months ago

Recompiled all Mentat module babel translations to match recent code changes.

(Redmine issue: #3387)

Revision 259e2951
Added by Jan Mach 10 months ago

DEPLOY: Version bumped up to '0.17.0’ to build new distribution.

(Redmine issue: #3387)

Revision c66abb42
Added by Jan Mach 10 months ago

DEPLOY: Version bumped up to '2.0.0’ to build new distribution.

This commit marks the first production release of Mentat system 2.0.0. After lots of work we have finally successfully abandoned the original implementation written in Perl and using MongoDB as database backend.

This commit also marks the end of an era of frantic coding. Until now some of the guidelines and best practices for coding and committing were violated in favor of faster development. This was also possible thanks to the fact that there was mostly only single developer working on the project, so there were no possible conflicts. From now on however things will be back to normal state.

(Redmine issue: #3387)

Revision 972d1e8c
Added by Jan Mach 10 months ago

DEPLOY: Version bumped up to '2.0.1’ to build new distribution.

(Redmine issue: #3387)

Revision a19a13c7
Added by Jan Mach 10 months ago

DEPLOY: Version bumped up to '2.0.2’ to build new distribution.

(Redmine issue: #3387)

Revision 60a11e9a
Added by Jan Mach 10 months ago

DEPLOY: Version bumped up to '2.0.3’ to build new distribution.

(Redmine issue: #3387)

Revision 48290ecc
Added by Jan Mach 10 months ago

DEPLOY: Version bumped up to '2.0.4’ to build new distribution.

(Redmine issue: #3387)

Revision cd544538
Added by Jan Mach 10 months ago

Updated installation documentation using Ansible to match new role names.

(Redmine issue: #3361,#3387)

Revision f19d2bfc
Added by Jan Mach 9 months ago

Updated all third party backend libraries to latest versions.

(Redmine issue: #3387)

Revision 786dc4a5
Added by Jan Mach 9 months ago

DEPLOY: Version bumped up to '2.0.5’ to build new distribution.

(Redmine issue: #3387)

Revision 56e679ef
Added by Jan Mach 9 months ago

DEPLOY: Version bumped up to '2.0.6’ to build new distribution.

(Redmine issue: #3387)

Revision 7cc89a21
Added by Jan Mach 9 months ago

Refactoring: changed name of the Babel binary from pybabel-python3 to babel.

It is up to the developer to ensure that babel binary points to correct version of babel. (Redmine issue: #3387)

Revision 56a4f975
Added by Jan Mach 9 months ago

Refactoring: changed name of the Babel binary from pybabel-python3 to pybabel.

It is up to the developer to ensure that pybabel binary points to correct version of babel. (Redmine issue: #3387)

Revision 040563b8
Added by Jan Mach 9 months ago

Changed version number generation for Debian packages.

Instead of appending build number to version string only for development suite packages, the buildnumber will now not be appended only to production level packages and will be present in any other cases. (Redmine issue: #3387)

Revision 282160fe
Added by Jan Mach 9 months ago

DEPLOY: Version bumped up to '2.0.7’ to build new distribution.

(Redmine issue: #3387)

Revision 9c33c5ff
Added by Jan Mach 9 months ago

Updated Debian package postinstallation script.

There were some outdated commands. Fixed wrong find commands (asterisks required quoting). (Redmine issue: #3387)

Revision 5296bc09
Added by Jan Mach 9 months ago

Added make target for building all available project presentations.

(Redmine issue: #3387)

Revision b765ad28
Added by Jan Mach 9 months ago

Cosmetic improvements of master Makefile output.

(Redmine issue: #3387)

Revision 9eb1fd6e
Added by Jan Mach 9 months ago

Updated Makefile to enable user to force version of python, pip, nosetests and twine.

(Redmine issue: #3387)

Revision 33ada9f6
Added by Jan Mach 8 months ago

Updated the Pynspect library to version '0.16’.

(Redmine issue: #3387)

Revision 908e9b8f
Added by Jan Mach 8 months ago

Deleted unit tests for MongoDB related code.

This step will greatly simplify the requirements for our automated build and deployment system. The MongoDB related code is still there for the purposes of data migration. (Redmine issue: #4225,#3387,#1017)

Revision 1dba76f6
Added by Jan Mach 8 months ago

DEPLOY: Version bumped up to '2.0.8’ to build new distribution.

(Redmine issue: #3387)

Revision 6a6395db
Added by Jan Mach 8 months ago

DEPLOY: Version bumped up to '2.1.0’ to build new distribution.

(Redmine issue: #3387)

Revision 018e0474
Added by Pavel Kácha 8 months ago

Created additional IDEA message validation rules.

Created more IDEA message validation rules for validation instance of mentat-inspector.py to detect more errors. (Redmine issue: #3387)

Revision 220a5e32
Added by Jan Mach 7 months ago

DEPLOY: Version bumped up to '2.1.1’ to build new distribution.

(Redmine issue: #3387)

Revision 2fe44e8d
Added by Jan Mach 7 months ago

DEPLOY: Version bumped up to '2.1.2’ to build new distribution.

(Redmine issue: #3387)

Revision 737606d9
Added by Jan Mach 6 months ago

DEPLOY: Version bumped up to '2.2.0’ to build new distribution.

(Redmine issue: #3387)

Revision bb8d22c1
Added by Jan Mach 6 months ago

Upgraded third party libraries.

(Redmine issue: #3387)

Revision 7cd3af32
Added by Jan Mach 5 months ago

Updated third party libraries to latest versions.

(Redmine issue: #3387)

Revision afb5839f
Added by Jan Mach 5 months ago

Updated example Apache2 configuration files to enforce strong SSL configuration.

(Redmine issue: #3387)

Revision 4b9201d3
Added by Jan Mach 5 months ago

Updated czech translations for Hawat web interface.

(Redmine issue: #3387)

Revision d089f6ef
Added by Jan Mach 4 months ago

Improved Czech translations of web interface.

Translated recently implemented features. (Redmine issue: #3387)

Revision 286918d6
Added by Jan Mach 4 months ago

Improved Czech translations of web interface.

Translated recently implemented features. (Redmine issue: #3387)

Revision 6aabc96a
Added by Jan Mach 4 months ago

DEPLOY: Version bumped up to '2.2.0’ to build new distribution.

(Redmine issue: #3387)

Revision 9ce98763
Added by Jan Mach 3 months ago

DEPLOY: Version bumped up to '2.3.1’ to build new distribution.

(Redmine issue: #3387)

Revision e18a7fd4
Added by Jan Mach 3 months ago

DEPLOY: Version bumped up to '2.3.2’ to build new distribution.

(Redmine issue: #3387)

Revision d1672c44
Added by Jan Mach 3 months ago

Make the whole project more developer friendly.

Following big improvements were made to make the development more easier:

  • Created the 'setup.py’ script to support native Python packaging with setuptools and pip.
  • There is a new target 'make develop’, that will bootstrap the Python virtual environment, install all production and development requirements and install the whole project in editable mode.
  • Revised the dependency installation targets.
  • Big facelift of makefile help target.
  • Added target for build environment cleanup.
  • Added target for initialization of new translations of Mentat and Hawat.
  • Added target for building locally Python packages.
  • Added target for building locally Debian packages.
  • Updated documentation page for developers.

(Redmine issue: #4216,#3387,#3361)

Revision 8ee65f54
Added by Jan Mach 3 months ago

Fixes and improvements in master makefile.

  • Merged pylint and pyflakes tasks for simplicity,
  • Fixed broken clean task.
  • Updated development documentation to include Grunt as prerequisite.
  • Few additional minor tweaks.

(Redmine issue: #4216,#3387,#3361)

Revision 307c703f
Added by Jan Mach 3 months ago

Changed the setup.py to load development requirements from file.

(Redmine issue: #4216,#3387)

Revision efdb62e5
Added by Jan Mach 3 months ago

Removed .pot translation files from versioning.

Adding these files to the repository was a mistake that goes against best practices. (Redmine issue: #3387)

Revision b94b8cc1
Added by Jan Mach 3 months ago

Moved the bsddb3 Python dependency from Debian package control file to pip requirements.

(Redmine issue: #3387)

Revision 22d814dd
Added by Jan Mach 3 months ago

Removed manually created API documentation files and used sphinx-apidoc instead.

Previously all API documentation pages were manually created, which resulted is errors. (Redmine issue: #4216,#3361,#3387)

Revision 17df7221
Added by Jan Mach 3 months ago

Removed unnecessary tasks and functions from Gruntfile.

There were deprecated deployment related tasks in Gruntfile related to previous package building and deployment mechanism. There are no longer valid and used, so I have removed them to make the file more clear. All package build and deployment related tasks should be moved to master makefile and Grunt should be used only to the stuff related to web interface. So the next task will be to rewrite the Debian package generation into the master makefile. (Redmine issue: #4216,#3387)

Revision 8ea53be9
Added by Jan Mach 3 months ago

Huge revision of master makefile and development documentation page.

Documentation, build procedures...almost everything was revised and rethought. (Redmine issue: #4216,#3387,#3361)

Revision 43bc8eaf
Added by Jan Mach 3 months ago

Moved part of the Makefile functionality to included library.

Reason is better reuse in other projects. (Redmine issue: #4216,#3387)

Revision 2eab2e88
Added by Jan Mach 3 months ago

Fix: Fixed too strict .gitignore rules.

(Redmine issue: #3387)

Revision fc561be0
Added by Jan Mach 3 months ago

Fix: Fixed invalid path to local library when detecting project version in Makefile.

(Redmine issue: #3387)

Revision 5bb3546e
Added by Jan Mach 3 months ago

Updated PyZenKit to latest version 0.50.

(Redmine issue: #3387)

Revision 7c40d401
Added by Jan Mach 3 months ago

Updated PyZenKit to latest version 0.51.

(Redmine issue: #3387)

Revision f5141ded
Added by Jan Mach 3 months ago

Updated PyZenKit to latest version 0.52.

(Redmine issue: #3387)

Revision 325d7518
Added by Jan Mach 3 months ago

Improved the Debian package control file.

Added better project description including links to our web pages. (Redmine issue: #3387)

Revision 07a2d835
Added by Jan Mach 3 months ago

Moved local lightweight chroot bootstrap to separate script file.

(Redmine issue: #3443,#3387)

Revision 2924225c
Added by Jan Mach 3 months ago

Added missing configuration file to Debian package control file.

(Redmine issue: #3387)

Revision 4ef7cc01
Added by Jan Mach 3 months ago

Fix: Fixed invalid syntax of package description in Debian package control file.

Added missing dots instead of blank lines. (Redmine issue: #3387)

Revision 2e45fbd5
Added by Jan Mach 3 months ago

Simplified all configuration files.

Descriptions of common parameters should be in the documentation, so that the updates do not have to be done on so many places. Additional documentation should be present only for script/daemon specific parameters. (Redmine issue: #3387)

Revision dab66390
Added by Jan Mach 3 months ago

Removed translation .pot file from Debian package conffiles.

(Redmine issue: #3387)

Revision 1f61c8dc
Added by Jan Mach 3 months ago

Moved metadata database migrations from configuration to Python module namespace.

(Redmine issue: #3387,#4216)

Revision 7be8393c
Added by Jan Mach 3 months ago

Added makefile target for installing project in editable mode.

Without this it is not possible to use command line interface on our automated build system. (Redmine issue: #3387)

Revision 6e9bf33c
Added by Jan Mach 3 months ago

Master makefile targets for message catalog translations now use pybabel directly again.

Previous approach, while better in some aspects caused troubles on our automated build system, because it required for the Mentat to be correctly installed for hawat-cli to be available. (Redmine issue: #3387,#4216)

Revision f4b3f538
Added by Jan Mach 3 months ago

Added makefile target for documentation build directory cleanup.

(Redmine issue: #3387)

Revision 44c79f55
Added by Jan Mach 3 months ago

Added tip for easier enabling of virtual environment to 'develop’ makefile target.

(Redmine issue: #3387)

Revision bcebd8fb
Added by Jan Mach 3 months ago

Updated PyZenKit to latest version 0.54.

This version comes with improved application command line parameter documentation, some changes were necessary to make everything work again. (Redmine issue: #3387,#3361)

Revision 07c3f135
Added by Jan Mach 3 months ago

Makefile and buildprocedure imporvements.

  • The creation of Python virtual environment is now a separate makefile target.
  • The 'develop’ target now reuses already defined targets.
  • Using python-dotenv to local configuration customizations.

(Redmine issue: #3387,#4216)

Revision e1c72d3a
Added by Jan Mach 3 months ago

Fix: Fixed makefile to display names of executed commands for tests.

(Redmine issue: #3387,#4216)

Revision 416ab5a2
Added by Jan Mach 3 months ago

Made time interval for checking for empty input queue configurable.

(Redmine issue: #3387)

Revision d88b67e9
Added by Jan Mach 3 months ago

Added basic Python package readme file.

(Redmine issue: #3387)

Revision 8cfc1309
Added by Jan Mach 2 months ago

Rewritten the Debian package building mechanism.

New mechanism for building Debian packages makes better use of debhelper. Previous solution with using Grunt for building the package was abandoned entirely. (Redmine issue: #3387,#4216)

Revision c8bd6854
Added by Jan Mach 2 months ago

Removed accidentally commited .pot translation file.

(Redmine issue: #3387)

Revision e7016937
Added by Jan Mach 2 months ago

Changed development requirements to always use latest version.

(Redmine issue: #3387)

Revision 81346647
Added by Jan Mach about 1 month ago

Fixed some lintian warnings for Debian package.

(Redmine issue: #3387)

Revision 16a17567
Added by Jan Mach about 1 month ago

Debian package now installs Mentat into virtual environment.

(Redmine issue: #3387)

Revision 57707aab
Added by Jan Mach about 1 month ago

Fixed conditional for generating different suites of Debian packages.

(Redmine issue: #3387)

Revision a16b8f81
Added by Jan Mach about 1 month ago

Updated example Apache configuration to reflect use of virtual environment.

(Redmine issue: #3387)

Revision f8f2d2ef
Added by Jan Mach about 1 month ago

Updated czech web interface translations.

(Redmine issue: #3387)

Revision 5504d9a8
Added by Jan Mach about 1 month ago

Changed Debian postinst script to uprgade Mentat wheel to latest version.

(Redmine issue: #3387)

Revision e3f839e3
Added by Jan Mach about 1 month ago

DEPLOY: Version bumped up to '2.3.12’ to build new distribution.

(Redmine issue: #3387)

Revision 43a9a201
Added by Jan Mach about 1 month ago

Fix: Fixed invalid path to Python executable in cron scripts.

(Redmine issue: #3387)

Revision c5fb2567
Added by Jan Mach 20 days ago

Fix: Made all executable files in ./bin really executable.

(Redmine issue: #3387)

Revision 5ae217ad
Added by Jan Mach 20 days ago

DEPLOY: Version bumped up to '2.3.14’ to build new distribution.

(Redmine issue: #3387)

Revision 0d15ac2f
Added by Jan Mach 20 days ago

Fix: Added missing package files to Python wheel manifest.

(Redmine issue: #3387)

Revision 14c27f7f
Added by Jan Mach 20 days ago

DEPLOY: Version bumped up to '2.3.15’ to build new distribution.

(Redmine issue: #3387)

Revision e61f36f5
Added by Jan Mach 14 days ago

Fix: Added the missing event migrations to Debian package.

(Redmine issue: #3361,#3387,#4216)

Revision cded197e
Added by Jan Mach 13 days ago

DEPLOY: Version bumped up to '2.3.16’ to build new distribution.

(Redmine issue: #3387)

Revision e90371d4
Added by Jan Mach 10 days ago

DEPLOY: Version bumped up to '2.3.18’ to build new distribution.

(Redmine issue: #3387)

Revision be09021e
Added by Jan Mach 6 days ago

DEPLOY: Version bumped up to '2.3.19’ to build new distribution.

(Redmine issue: #3387)

Revision 4a3d022d
Added by Jan Mach about 2 hours ago

DEPLOY: Version bumped up to '2.3.20’ to build new distribution.

(Redmine issue: #3387)

History

#1 Updated by Jan Mach about 2 years ago

Improved postinst script in Debian package.

The postinst script now makes sure, that all configuration files and con scripts within /etc/mentat directory have correct ownerships and permissions. There was an issue with permissions of cron script for database watchdog and the result was the script was not running. Additionally few of the configuration files were executable and there were other irregularities, so it was fixed all at once.

#2 Updated by Jan Mach about 2 years ago

Added configuration files for demonstration setup.

#3 Updated by Jan Mach over 1 year ago

  • Status changed from New to In Progress

#4 Updated by Jan Mach 10 months ago

  • Priority changed from Normal to Low

Also available in: Atom PDF