Skip to content

Commit 0836710

Browse files
authored
#236: prepare release 1.0.0 (#241)
* #236: Prepated release 1.0.0
1 parent b30b1fa commit 0836710

File tree

11 files changed

+47
-162
lines changed

11 files changed

+47
-162
lines changed

.github/workflows/shellcheck.yaml

Lines changed: 0 additions & 12 deletions
This file was deleted.

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,4 @@ repos:
3434
- id: check-yaml
3535
- id: end-of-file-fixer
3636
- id: trailing-whitespace
37+
- id: no-commit-to-branch

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -99,15 +99,15 @@ Create the language container and export it to the local file system
9999
exaslct export --flavor-path=flavors/<flavor-name> --export-path <export-path>
100100
```
101101

102-
or upload it directly into the BucketFS (currently http only, https follows soon)
102+
or deploy it directly to the BucketFS (both http and https are supported)
103103

104104
```bash
105-
exaslct upload --flavor-path=flavors/<flavor-name> --database-host <hostname-or-ip> --bucketfs-port <port> \
106-
--bucketfs-username w --bucketfs-password <password> --bucketfs-name <bucketfs-name> \
107-
--bucket-name <bucket-name> --path-in-bucket <path/in/bucket>
105+
exaslct deploy --flavor-path=flavors/<flavor-name> --bucketfs-host <hostname-or-ip> --bucketfs-port <port> \
106+
--bucketfs-user w --bucketfs-password <password> --bucketfs-name <bucketfs-name> \
107+
--bucket <bucket-name> --path-in-bucket <path/in/bucket> --bucketfs-use-https 1
108108
```
109109

110-
Once it is successfully uploaded, it will print the ALTER SESSION statement
110+
Once it is successfully deployed, it will print the ALTER SESSION statement
111111
that can be used to activate the script language container in the database.
112112

113113
#### How to activate a script language container in the database

doc/changes/changes_1.0.0.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
1-
# Script-Languages-Container-Tool 1.0.0, released t.b.d.
1+
# Script-Languages-Container-Tool 1.0.0, released 2024-09-04
22

3-
Code name: t.b.d.
3+
Code name: Major refactoring and new deployment API
44

55
## Summary
66

7-
t.b.d.
7+
This release changed the directory structure and aimed to separate the public and internal modules.
8+
Also, the project now uses the `exasol-toolbox` to execute code quality CI jobs. There are new functions which
9+
simplify the deployments of Script Language Containers on BucketFS.
10+
The new API improves the generation of the Language Activation commands and provides new objects which contain
11+
more detailed information about the installed Script Language Containers in BucketFS.
812

913
## Features
1014

doc/developer_guide/developer_guide.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,20 @@
22

33
EXASLCT is the build tool for the script language container. This document is about the inner working of EXASLCT.
44

5+
## Preparations
6+
7+
This project uses [pre-commit](https://pre-commit.com/) to run certain Githooks for validation. You don't have to install `pre-commit` as it will be installed with the `exasol-toolbox`.
8+
You can activate the Githooks simply by running:
9+
```commandline
10+
pre-commit install
11+
```
12+
13+
However, if you don't want to run all the checks during every commit, you can use:
14+
```
15+
poetry run nox -s check
16+
```
17+
to run all available checks on the project.
18+
519
## About the Script Language Containers
620

721
The Script Language Containers are getting build from several Dockerfiles which depend on each other. These Dockerfiles need to install all necessary dependencies for the [script client](https://github.com/exasol/script-languages/tree/master/exaudfclient/base), compile the script client and install all necessary dependencies for the flavor and the customizations of the user.

githooks/install.sh

Lines changed: 0 additions & 50 deletions
This file was deleted.

githooks/pre-commit

Lines changed: 0 additions & 10 deletions
This file was deleted.

githooks/pre-push

Lines changed: 0 additions & 43 deletions
This file was deleted.

githooks/prohibit_commit_to_main.sh

Lines changed: 0 additions & 8 deletions
This file was deleted.

poetry.lock

Lines changed: 20 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)