aboutsummaryrefslogtreecommitdiff
path: root/session_test.go
AgeCommit message (Collapse)Author
2024-09-08all: fix linter warningsShulhan
2024-03-22all: replace module "share" with "pakakeh.go"Shulhan
The "share" project has been moved to SourceHut with new name "pakakeh.go".
2023-10-12all: tag all unit test files with "!integration"Shulhan
This will allow us to build test binary that contains only "integration" build constraints. The test that have "integration" will be run using container.
2023-03-26all: add configuration for golangci-lintShulhan
With configuration we can enable or disable specific linters and customize it without touching the Makefile. While at it, enable linter presets for bugs, comment, metalinter, module, performance, unused and fix the reported issues.
2022-07-31all: realign some structs to minimize memory usageShulhan
* Request: from 128 to 96 bytes (-32 bytes) * Session: from 176 to 160 bytes (-16 bytes) * Statement: from 56 to 48 bytes (-8 bytes) * session_test.go:24:13: struct with 48 pointer bytes could be 40 * statement_test.go:13:13: struct with 32 pointer bytes could be 16
2022-03-14all: change the awwan software license to GPL 3.0 or laterShulhan
See https://kilabit.info/journal/2022/gpl for more information.
2021-08-09all: refactoring the codeShulhan
Previously we have Command, environment, and script types to handle all functionalities. The name for Command is kind a misleading, because it contains method to copy files in local or remote and to execute script in local or remote. This refactoring break down the types into Awwan, Session, and Script. Awwan contains cache of sessions and cache of environment files. Session manage and cache SSH client and list of scripts. One session have one SSH client, but may contains more than one script. Script define the content of ".aww" file, line by line.