# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.3.0] - 2025-08-28

### Changed

- Receive new parameter "gen-script" in Configurar

## [1.2.0] - 2025-08-26

### Removed

- Removed init bash files

## [1.1.3] - 2025-08-08

### Fixed

- Fix parsing of the output of '/bin/ip -json'

## [1.1.2] - 2025-07-31

### Changed

- Try several encodings on hivexregedit output

## [1.1.1] - 2025-07-29

### Fixed

- Correctly decode hivexregedit UTF-16LE output

## [1.1.0] - 2025-07-24

### Changed

- Have CrearImagenGit not receive the "tag" parameter

## [1.0.3] - 2025-07-24

### Fixed

- Have GetGitData deal with the fact that .git may be a regular file

## [1.0.2] - 2025-07-24

### Changed

- Write listSoftwareInfo errors in the log

## [1.0.1] - 2025-07-23

### Fixed

- Fixed small bugs in the py init scripts

## [1.0.0] - 2025-07-18

### Changed

- Renamed scripts so they don't have .py extension

## [0.30.1] - 2025-07-17

### Changed

- Have wrappers fail if functions return None

## [0.30.0] - 2025-07-17

### Added

- Add script for getting data out of deployed git images

## [0.29.0] - 2025-07-17

### Changed

- Now Configurar.py takes a third parameter: whether just check stuff or not

## [0.28.0] - 2025-07-17

### Changed

- Use python init scripts by default

## [0.27.0] - 2025-07-16

### Added

- Add python init scripts

## [0.26.1] - 2025-07-14

### Changed

- Change sort order in `_getAllDisks()`

## [0.26.0] - 2025-07-14

### Fixed

- Overhaul partitioning

## [0.25.2] - 2025-07-14

### Fixed

- Run initCache.py rather than just initCache

## [0.25.1] - 2025-07-11

### Changed

- Derive a strong password from the default opengnsys weak one

## [0.25.0] - 2025-07-11

## Added

- Add ogGit functionality

## [0.24.0] - 2025-07-11

### Added

- Configure and run filebeat

## [0.23.2] - 2025-07-07

### Changed

- Improved error reporting in ogCreateCache

## [0.23.1] - 2025-07-04

### Fixed

- Don't fail if grub.cfg is not found

## [0.23.0] - 2025-07-03

### Removed

- Remove several bash scripts under "scripts" and "interfaceAdm"

## [0.22.8] - 2025-07-03

### Removed

- Remove unused "cacheopts"

## [0.22.7] - 2025-07-03

### Fixed

- Fix dstat--show bandwith in the local cgi

## [0.22.6] - 2025-07-03

### Changed

- Include own IP address in the local CGI's title

## [0.22.5] - 2025-07-02

### Fixed

- Fixed booting windows using winboot/kexec

## [0.22.4] - 2025-07-01

### Changed

- Do copy grub.cfg :) and clean it up on boot
- Remove warning about /dev/loop0
- Comment unused code out

## [0.22.3] - 2025-06-27

### Changed

- Don't copy grub.cfg

## [0.22.2] - 2025-06-27

### Fixed

- Don't check rc of updateBootCache.py because we may have no cache partition

## [0.22.1] - 2025-06-27

### Fixed

- Included some changes that should be in the previous version

## [0.22.0] - 2025-06-26

### Changed

- Changed torrent client from ctorrent to aria2c
- Updated ogCreateTorrent function replaced ctorrent with mktorrent

## [0.21.1] - 2025-06-26

### Fixed

- Fixed syntax and other errors

## [0.21.0] - 2025-06-25

### Changed

- Prevent Configurar.py from messing with the browser

## [0.20.3] - 2025-06-25

### Fixed

- Fixed bugs when partitioning disks

## [0.20.2] - 2025-06-24

### Changed

- Do a couple of ogExecAndLog()s also when creating images

## [0.20.1] - 2025-06-24

### Changed

- Fix mark for ogboot on linux

## [0.20.0] - 2025-06-24

### Changed

- In order to have /tmp/command.log updated in realtime, ogExecAndLog now spawns a subprocess rather than calling functions directly

## [0.19.2] - 2025-06-24

### Changed

- Write a mark for ogboot on linux only

## [0.19.1] - 2025-06-23

### Fixed

- Fixed path of EFI boot entry

## [0.19.0] - 2025-06-23

### Changed

- Write a mark for ogboot

## [0.18.2] - 2025-06-19

### Fixed

- Accept None as partition type

## [0.18.1] - 2025-06-18

### Fixed

- Look for grub.cfg in two places rather than one

## [0.18.0] - 2025-06-16

### Added

- Added scripts and libs for oggit

## [0.17.0] - 2025-06-16

### Changed

- Removed useless warning about /dev/loop0
- Fix windows EFI booting, and a typo

## [0.16.0] - 2025-06-12

### Changed

- Gave some care to the "Custom" scripts

## [0.15.3] - 2025-06-12

### Fixed

- Create missing dir

## [0.15.2] - 2025-06-11

### Fixed

- Fixed a condition check

## [0.15.1] - 2025-06-11

### Fixed

- Add a missing "import"
- Fix retrieving windows version from the registry
- Fix bug while building the "Part-01-01" string
- Removed obsolete unused "bootOS" scripts (with a capital "S")

## [0.15.0] - 2025-06-10

### Changed

- Remove opengnsys bash functions from the agent's environment

## [0.14.2] - 2025-06-09

### Fixed

- Get rc of bash pipelines in ProtocolLib

## [0.14.1] - 2025-06-07

### Fixed

- Fixed rc management in deployImage.py

## [0.14.0] - 2025-06-07

### Changed

- Read $ogusetls and $ogverifytls from the environment and configure stunnel accordingly

## [0.13.9] - 2025-06-04

### Fixed

- Copy grub.cfg so that grub finds the config upon boot

## [0.13.8] - 2025-06-03

### Fixed

- Paid attention to return codes between python (True for success) and shell (0 for success)

## [0.13.7] - 2025-06-02

### Fixed

- Fixed management of the "multicast session" parameter

## [0.13.6] - 2025-06-02

### Fixed

- Fixed variable name in restoreImage.py

## [0.13.5] - 2025-05-30

### Fixed

- Return a true value from the unicast/multicast methods
- Fully qualify a method call

## [0.13.4] - 2025-05-28

### Changed

- Show sgdisk output

## [0.13.3] - 2025-05-28

### Fixed

- unlink() only existing files

## [0.13.2] - 2025-05-28

### Changed

- Point urlMenu back to the localhost stunnel

## [0.13.1] - 2025-05-21

### Changed

- Make dbus envvar available to the agent

## [0.13.0] - 2025-05-19

### Added

- Run dbus

## [0.12.0] - 2025-05-18

### Changed

- no tls for the urlmenu either

## [0.11.0] - 2025-05-18

### Added

- Run stunnel and point the browser to it

## [0.10.0] - 2025-05-14

### Changed

- Run the new browser

## [0.9.0] - 2025-05-09

### Added

- Use zstd when creating and restoring images

## [0.8.4] - 2025-05-09

### Added

- When restoring an image, include the image name in the ogagent configuration file

## [0.8.3] - 2025-05-08

### Fixed

- Have ogNvramAddEntry() handle EFI entries with spaces in them

## [0.8.2] - 2025-05-07

### Changed

- Have Configurar.py ignore the tch parameter, take cache size from the definition of the cache partition

## [0.8.1] - 2025-05-07

### Fixed

- Gracefully handle error in ogBoot() when not finding /boot partition in target's fstab

## [0.8.0] - 2025-04-23

### Added

- Have the oglive agent send /stopped on poweroff or restart

## [0.7.2] - 2025-04-21

### Fixed

- Have the partitioning functions return a meaningful rc

## [0.7.1] - 2025-04-15

### Fixed

- getConfiguration.py: don't fail if NTFS filesystems are mounted ro

## [0.7.0] - 2025-04-15

### Removed

- Removed references to ogGlobals.OGLOG in python code

## [0.6.1] - 2025-04-15

### Fixed

- Fixed capturing of partclone output and management of return value

## [0.6.0] - 2025-04-15

### Changed

- ogGetIpAddress() is no longer required in ogGlobals--move it back into NetLib

## [0.5.0] - 2025-04-15

### Changed

- Log to /var/log/clone-engine.log and clone-engine.json.log

## [0.4.1] - 2025-04-10

### Fixed

- restoreImage.py: return negated rc to the shell

## [0.4.0] - 2025-04-10

### Changed

- Make /opt/opengnsys writable in clients, just like it used to be

## [0.3.6] - 2025-04-09

### Fixed

- Fixed ogReduceFs

## [0.3.5] - 2025-04-09

### Fixed

- Fixed syntax

## [0.3.4] - 2025-04-09

### Fixed

- Fixed usage of ogEcho in FileSystemLib

## [0.3.3] - 2025-04-09

### Fixed

- Kill coproc'ed browser in all execution branches in Configurar.py

## [0.3.2] - 2025-04-07

### Fixed

- Handle invalid number of arguments pass to functions/ogCopyFile

## [0.3.1] - 2025-04-03

### Fixed

- Fixed invocation to ogCheckIpAddress in interfaceAdm/CrearImagen.py

## [0.3.0] - 2025-04-03

### Removed

- Removed burg and rsync 3.1

## [0.2.6] - 2025-03-31

### Fixed

- Restore qt4 browser

## [0.2.5] - 2025-03-31

### Fixed

- Don't require protoopts in interfaceAdm/RestaurarImagen.py

## [0.2.4] - 2025-03-28

### Removed

- Removed burg, QT4 stuff, rsync 3.1 and the old browser

## [0.2.3] - 2025-03-28

### Fixed

- Fixed some errors in Configurar.py, ogCreateCache, ogCreatePartitions and initCache.py

## [0.2.2] - 2025-03-26

### Fixed

- Prevent EjecutarScript.py from capturing the output of the script

## [0.2.1] - 2025-03-26

### Fixed

- Run scripts with bash to avoid errno 8 "Exec format error"

## [0.2.0] - 2025-03-25

### Added

- getConfiguration.py now collects the firmware type
- Configurar.py now creates partition tables of the right type (MSDOS/GPT) for each machine

## [0.1.1] - 2025-03-19

### Added

- Missing functions in BootLib
- Some interfaceAdm python scripts

## [0.1.0] - 2025-02-28

### Added

- Merge pull request 'Include all client files, build debian package' (#2) from deb-package into main
