# changelog

author: Vincenzo Daniele <vd@asteras-consulting.de> - 1.1.0-92
changelog:
  - -- configure: added marsapplstart into enable and disable routine
    -- KVClass: Exchanged raise on AttributeError with RuntimeError
  - decorators: Removed dependency from mars.utils
    KVClass: Made attributes readonly


author: Vincenzo Daniele <vd@asteras-consulting.de> - 1.1.0-93
changelog:
  - NGEnv:
    -- --showStruct shows also netgroups flags if set
    -- Opening and reading domains shifted to NGEnv while loading.
    -- All domains can be retrieved with NGenv.all_domains method.
    tools:
    -- Reading domains and getting a list shifted to NGEnv for speed reasons,
    so all tools dealing with this had to be adjusted:
    dnsdomain, doforhost, longname, lssh, marsng, msync, test_ssh_access
    utils:
    -- Added deactivate_entity_directories method to rename an entity directory
    if it gets removed
  - decorators:
    -- Added timeout decorator
    -- Changed check_connect decorator to run with ACCmd
    utils:
    -- Added ACCmd class to run shell commands
    -- Changed ssh_exec to not assume connection without password as default


author: Vincenzo Daniele <vd@asteras-consulting.de> - 1.1.0-94
changelog:
  - -- client/modules filetree.py: debugged file permissions
    -- config: Added msync_batchsize to main Config module
    -- tools/msync:
    - Implemented option and default for '--batchsize'
    - Added API to directly import msync and run within python
    - Exchanged reading of domains file with method from NGEnv
    - Implemented batching for runs.
    -- utils: Debugged ACCmd Class


author: Vincenzo Daniele <vd@asteras-consulting.de> - 1.1.0-99
changelog:
  - - tools/msync:
    - Take excluded netgroups, and minions from master_opts instead of pillar
    - Early exclude of minions that are not in mars_all
  - -- NGEnv: debugging
    -- tools/marsng: debugging
  - -- NGEnv: improved updating netgroup data


author: Vincenzo Daniele <vd@asteras-consulting.de> - 1.1.0-100
changelog:
  - Merge branch 'msync_split_sync' into 'master'
    - mars/config
    See merge request mars/mars-common!2
  - ClassMaker: Updated docu.
  - tools/marsng:
    - deactivating netgroup directories on removal of netgroup.
    The netgroup directory will be moved to 'deactivated_NETGROUP_TIMESTAMP'
  - - NGEnv
    - replaced sys.exit with return False from methods
    - tools/marsng:
    - Reacting to return False from NGEnv
    - tools/msync
    - on log.error show only errors instead of everything.
  - - mars/config
    - introduced msync_cache_dir
    - tools/msync:
    - introduced in-use files
    - debugged logging setup if called by api
    - introduced colored output
    - added option '--nocolor|-C' to disable coloring
    - transferred batched run into own method
    - introduced fileserver after refreshing pillars and grains, before batching
    - improved error output
  - - mars/decorators:
    - debugged check_connect error on python version mismatch
    - tools/msync:
    - removed format errors
  - - tools/msync:
    - involve fileserver update
  - - tools/msync:
    - syncing is now bound to refresh_timeout
    - mars.config:
    - changed value refresh_timeout to 600 seconds.
  - - tools/msync:
    - Take msync values either from /etc/salt/master.d/msync.conf on master or mars.config module
    - Debugged wrong call to ngenv
    - Debugged wrong pointer to minion long names
    - mars.config:
    - changed value msync_conf_file to new location '/etc/salt/master.d/msync.conf'


author: Vincenzo Daniele <vd@asteras-consulting.de> - 1.1.0-106
changelog:
  - - Cosmetics and spelling checked.
  - - Cosmetics and spelling checked.
  - mars/decorators:
    - timeout: Debugged timeout decorator
  - mars/decorators:
    - allow: added show_allowed option to show allowed users and groups on failure
    - timer: improved output
    - timeout: Now using multiprocessing instead of thread module to resolve timeout error.
  - - adding python3.10 support
  - - adding python3.10 support


author: Vincenzo Daniele <vd@asteras-consulting.de> - 1.1.0-107
changelog:
  - - including new tool: get_common_ngs
  - - post_install : Updated postinstall routine for ubuntu
    - mars/utils : removed deprecated distutils.spawn for python3, taking shutil instead
  - - post_install : Debugged installation error.
  - - post_install : Adapted for Ubuntu and new saltstack installation location


author: Vincenzo Daniele <vd@asteras-consulting.de> - 1.1.0-109
changelog:
  - -- tools/msync : Enhanced logging
  - Merge branch 'minion-108' into 'master'
    Merging revision 108 into master
    See merge request mars/mars-common!3
  - Merging revision 108 into master
  - Delete .gitlab-ci.yml


author: Vincenzo Daniele <vd@asteras-consulting.de> - 1.1.0-110
changelog:
  - Merge remote-tracking branch 'gitlab/mars-common-1.1.0-109' into mars-common-1.1.0-109
  - Merge remote-tracking branch 'gitlab/mars-common-1.1.0-109' into mars-common-1.1.0-109
  - Merge remote-tracking branch 'gitlab/mars-common-1.1.0-109' into mars-common-1.1.0-109
  - Merge remote-tracking branch 'gitlab/mars-common-1.1.0-109' into mars-common-1.1.0-109
  - Merge remote-tracking branch 'gitlab/mars-common-1.1.0-109' into mars-common-1.1.0-109
  - Merge remote-tracking branch 'gitlab/mars-common-1.1.0-109' into mars-common-1.1.0-109
  - Merge remote-tracking branch 'gitlab/mars-common-1.1.0-109' into mars-common-1.1.0-109
  - -- tools/msync : Enhanced logging


author: Vincenzo Daniele <vd@asteras-consulting.de> - 1.1.0-111
changelog:
  - Merge remote-tracking branch 'gitlab/mars-common-1.1.0-109' into mars-common-1.1.0-109
  - - mars.utils: adjusted i_am_on_master, i_am_on_minion


author: Vincenzo Daniele <vd@asteras-consulting.de> - 1.1.0-84
changelog:
  - Raised product version in product_env.yml to 1.1.0
  - Transferring to new gitlab
  - Upload New File
  - Add README.md


author: Vincenzo Daniele <vd@asteras-consulting.de> - 1.1.0-85
changelog:
  - Shifting this from pyindependent to normal python structure.
    Introduced dependency to mars-common.
    Updated documentation in config file /etc/marsconfig/mars-dispatcher.
    Made /usr/bin/mars-dispatcher service python2/3 compatible.


author: Vincenzo Daniele <vd@asteras-consulting.de> - 1.1.0-86
changelog:
  - Made mars-dispatcher to mars-dispatcher.py and defined link mars-dispatcher.py => mars-dispatcher.


author: Vincenzo Daniele <vd@asteras-consulting.de> - 1.1.0-90
changelog:
  - Updated README_mars-dispatcher.md.
  - Adjusted pre_uninstall.
  - Changed mars-dispatcher to mars-dispatcher.conf. Updated mars-dispatcher.py and copy_table accordingly.


author: Vincenzo Daniele <vd@asteras-consulting.de> - 1.1.0-93
changelog:
  - - Added manpages
    - Debugged muninstall
  - Update .gitignore
  - Add new file
  - Add new directory
  - Delete .gitkeep
  - Add new directory
  - Delete .gitkeep
  - Add new directory
  - Delete .gitkeep
  - Add new directory
  - Add new directory


author: Vincenzo Daniele <vd@asteras-consulting.de> - 1.1.0-94
changelog:
  - -- msync.conf: Added msync_batchsize
    -- master.d/mars.conf: Added gather_job_timeout into config
    -- Adjusted manpages for lssh, minstall, msync, muninstall, test_ssh_access.


author: Vincenzo Daniele <vd@asteras-consulting.de> - 1.1.0-99
changelog:
  - - moved /etc/marsmaster/msync.conf to /etc/salt/master.d
    - updated msync manpage
    - pillar/retrieve_file_tree.py:
    - Debugged start entry of pillar
    - Get exclude list from master config instead of pillars
    - Adjusted permission handling


author: Vincenzo Daniele <vd@asteras-consulting.de> - 1.1.0-100
changelog:
  - - rearranged logging in /etc/marsmaster/msync_logging.yml
    - introduced msync_cache_dir in msync.conf
    - pillar retrieve_file_tree.py:
    - don't update filetree pillar if msync is currently running for a minion
  - - removed unnecessary content from /opt/marsmaster/all/tools
  - - retrieve_file_tree.py :
    - Removed platform files
    - Debugged exclude patterns


author: Vincenzo Daniele <vd@asteras-consulting.de> - 1.1.0-104
changelog:
  - Merge branch 'update_retrieve_filetree' into 'master'
    - rearranged logging in /etc/marsmaster/msync_logging.yml
    See merge request mars/mars-master!2
  - - minstall_helper.py : Made compatible with Ubuntu


author: Vincenzo Daniele <vd@asteras-consulting.de> - 1.1.0-106
changelog:
  - - Added mpi.py: Mars Pillar Info program to see how plugins build up.
    - Some spelling and corrections.
  - - Added new program mpi.py : Show calculated external pillars.
  - - moved /etc/marsmaster/msync.conf to /etc/salt/master.d
    - updated msync manpage
    - pillar/retrieve_file_tree.py:
    - Debugged start entry of pillar
    - Get exclude list from master config instead of pillars
    - Adjusted permission handling
  - - adding python3.10 support


author: Vincenzo Daniele <vd@asteras-consulting.de> - 1.1.0-107
changelog:
  - - introducing get_common_ngs.py, including manpage
  - - mpi.py : Don't show parts that are not contributing to a pillar.
  - - Added linking for mpi.py
  - - Refined output


author: Vincenzo Daniele <vd@asteras-consulting.de> - 1.1.0-109
changelog:
  - Merge remote-tracking branch 'origin/mars-master-1.1.0-109' into mars-master-1.1.0-109
  - Merge remote-tracking branch 'origin/mars-master-1.1.0-109' into mars-master-1.1.0-109
  - Merge remote-tracking branch 'origin/master' into mars-master-1.1.0-109
  - Merge remote-tracking branch 'origin/master' into mars-master-1.1.0-109
  - - Updated manpages
  - - added /opt/marsmaster as additional file root
    - adjusted ext_pillar retrieve_file_tree arguments
  - - bugfixed logical indentation error while creating super states
  - - debugged : retrieve_file_tree.py
  - - mars.conf: Exchanged receive_file with file_recv
    - msync saltstate: Debugged key error
  - -- Updated manpages for msync and muninstall
    -- Enhanced muninstall to be more aware of existence of ssh
  - Merge branch 'master-108' into 'master'
    merging revision 108
    See merge request mars/mars-master!4
  - merging revision 108


author: Vincenzo Daniele <vd@asteras-consulting.de> - 1.1.0-110
changelog:
  - Merge remote-tracking branch 'origin/mars-master-1.1.0-109' into mars-master-1.1.0-109
  - Merge remote-tracking branch 'origin/mars-master-1.1.0-109' into mars-master-1.1.0-109


author: Vincenzo Daniele <vd@asteras-consulting.de> - 1.1.0-111
changelog:
  - Merge remote-tracking branch 'origin/mars-master-1.1.0-109' into mars-master-1.1.0-109
  - Merge remote-tracking branch 'origin/mars-master-1.1.0-109' into mars-master-1.1.0-109
    - link_table : Removed link to /srv/salt/mars_master
    - minstall : Adjusted debug flag
    - minstall_helper.py : Adjusted handling of RPM packages
    - mpi.py : Adjusted salt root and file root


author: Vincenzo Daniele <vd@asteras-consulting.de> - 1.1.0-106
changelog:
  - - Updated manpage for marsconfigure_minion
  - - adding python3.10 support
  - - adding python3.10 support


author: Vincenzo Daniele <vd@asteras-consulting.de> - 1.1.0-109
changelog:
  - - updated pyver
  - Merge branch 'mars-minion-1.1.0-109' of https://www.asteras-consulting.de/gitlab/mars/mars-minion into mars-minion-1.1.0-109
  - - adjusted pyver
  - - mars-minion.service : exchanged killproc with pkill
  - - deleting unnecessary files


author: Vincenzo Daniele <vd@asteras-consulting.de> - 1.1.0-111
changelog:
  - Merge remote-tracking branch 'origin/mars-minion-1.1.0-109' into mars-minion-1.1.0-109
  - - updated pyver
    - minit: updated python version handling


