<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gh_mirror/jhunkeler/stasis.git/src/template_func_proto.c, branch next</title>
<subtitle>A pipeline delivery generator
</subtitle>
<link rel='alternate' type='text/html' href='https://git.einval.net/gh_mirror/jhunkeler/stasis.git/'/>
<entry>
<title>Refactor directory structure</title>
<updated>2024-10-14T13:43:31+00:00</updated>
<author>
<name>Joseph Hunkeler</name>
<email>jhunkeler@gmail.com</email>
</author>
<published>2024-10-14T13:32:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.einval.net/gh_mirror/jhunkeler/stasis.git/commit/?id=5a9688e9e78a25a42bddfc4388fb4ce3311ded74'/>
<id>5a9688e9e78a25a42bddfc4388fb4ce3311ded74</id>
<content type='text'>
* Move core library sources into src/lib/core
* Move command-line programs into src/cli
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Move core library sources into src/lib/core
* Move command-line programs into src/cli
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix leaking of basetemp_path and jxml_path on error</title>
<updated>2024-09-30T15:54:34+00:00</updated>
<author>
<name>Joseph Hunkeler</name>
<email>jhunkeler@gmail.com</email>
</author>
<published>2024-09-30T15:54:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.einval.net/gh_mirror/jhunkeler/stasis.git/commit/?id=d1642b3514f23be90e8292fce4569990c813d8eb'/>
<id>d1642b3514f23be90e8292fce4569990c813d8eb</id>
<content type='text'>
* Reported by @kmacdonald-stsci
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Reported by @kmacdonald-stsci
</pre>
</div>
</content>
</entry>
<entry>
<title>Die if the current working directory cannot be determined</title>
<updated>2024-09-20T17:11:45+00:00</updated>
<author>
<name>Joseph Hunkeler</name>
<email>jhunkeler@gmail.com</email>
</author>
<published>2024-09-20T12:42:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.einval.net/gh_mirror/jhunkeler/stasis.git/commit/?id=d76321976cfe42bb03b5e7e48ac9f6d95d97b14a'/>
<id>d76321976cfe42bb03b5e7e48ac9f6d95d97b14a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement multiprocessing pool(s)</title>
<updated>2024-09-19T03:06:08+00:00</updated>
<author>
<name>Joseph Hunkeler</name>
<email>jhunkeler@gmail.com</email>
</author>
<published>2024-09-13T13:58:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.einval.net/gh_mirror/jhunkeler/stasis.git/commit/?id=8f17199d16bcdb29516d34514f95d1a117f6bd26'/>
<id>8f17199d16bcdb29516d34514f95d1a117f6bd26</id>
<content type='text'>
* Adds --cpu-limit and --parallel-fail-fast arguments
* Adds disable, parallel, and setup_script keys to [test] blocks
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Adds --cpu-limit and --parallel-fail-fast arguments
* Adds disable, parallel, and setup_script keys to [test] blocks
</pre>
</div>
</content>
</entry>
<entry>
<title>Add template convience functions (and bug fixes) (#29)</title>
<updated>2024-08-15T19:27:45+00:00</updated>
<author>
<name>Joseph Hunkeler</name>
<email>jhunkeler@users.noreply.github.com</email>
</author>
<published>2024-08-15T19:27:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.einval.net/gh_mirror/jhunkeler/stasis.git/commit/?id=c069d0da7645eb1e596a53178960149224af8d48'/>
<id>c069d0da7645eb1e596a53178960149224af8d48</id>
<content type='text'>
* Die when render variable is NULL

* This was caught when a call to {{ func:xyz() }} lacked opening/closing parenthesis

* Scripts in tests should only render template strings right before execution

* Remove conda version pin

* This avoids updating conda in the base environment
* This also avoids pitfalls associated with newly released (always broken) versions of conda

* Add two template convenience functions

* get_junitxml_result_auto()
* get_basetemp_result_auto()

* Handle rendering error for test script

* Rename functions

* get_junitxml_result_auto -&gt; junitxml_file
* get_basetemp_result_auto -&gt; basetemp_dir
* Thank you, @zacharyburnett</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Die when render variable is NULL

* This was caught when a call to {{ func:xyz() }} lacked opening/closing parenthesis

* Scripts in tests should only render template strings right before execution

* Remove conda version pin

* This avoids updating conda in the base environment
* This also avoids pitfalls associated with newly released (always broken) versions of conda

* Add two template convenience functions

* get_junitxml_result_auto()
* get_basetemp_result_auto()

* Handle rendering error for test script

* Rename functions

* get_junitxml_result_auto -&gt; junitxml_file
* get_basetemp_result_auto -&gt; basetemp_dir
* Thank you, @zacharyburnett</pre>
</div>
</content>
</entry>
<entry>
<title>Fix leaks in tpl functions (#18)</title>
<updated>2024-08-07T17:52:38+00:00</updated>
<author>
<name>Joseph Hunkeler</name>
<email>jhunkeler@users.noreply.github.com</email>
</author>
<published>2024-08-07T17:52:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.einval.net/gh_mirror/jhunkeler/stasis.git/commit/?id=99edcf7b998a1ac83b75ef3cc117c5b91c874782'/>
<id>99edcf7b998a1ac83b75ef3cc117c5b91c874782</id>
<content type='text'>
* Free the function key string in tplfunc_frame during tpl_free()

* Fix leaks in get_github_release_notes_auto_tplfunc_entrypoint():

* Free repository name
* Free list of release notes</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Free the function key string in tplfunc_frame during tpl_free()

* Fix leaks in get_github_release_notes_auto_tplfunc_entrypoint():

* Free repository name
* Free list of release notes</pre>
</div>
</content>
</entry>
<entry>
<title>Version in package name (#15)</title>
<updated>2024-07-30T21:58:35+00:00</updated>
<author>
<name>Joseph Hunkeler</name>
<email>jhunkeler@users.noreply.github.com</email>
</author>
<published>2024-07-30T21:58:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.einval.net/gh_mirror/jhunkeler/stasis.git/commit/?id=15eef8db2c06f536edee84fe524f5d8fcefd0a5f'/>
<id>15eef8db2c06f536edee84fe524f5d8fcefd0a5f</id>
<content type='text'>
* Compile test installation with debug symbols enabled

* Fix typo in environment variable name

* STASIS_GITHUB_TOKEN is supposed to be STASIS_GH_TOKEN

* Add pattern matching mode selector to get_wheel_file()

* Adds modes WHEEL_MATCH_EXACT and WHEEL_MATCH_ANY

* test block version key is now optional

* Now that *_packages lists define the package version through detection, because the end-result version cannot be guaranteed to be identical to the tag.

* Find the just-compiled package matching the name and version in the package list.
* If compiling master/main this can also match against post-commits (x.y.z.devN+hash)
* Versions are extracted from the package name in the list, only if a matching test block exists. Otherwise the string is passed through to pip directly.

* Changes indentation level of output

* Do not replace @PIP_ARGUMENTS@ with an artifactory URL unless artifactory is enabled

* Sequence change

* Build requested packages before executing tests. A necessary evil if test blocks are no longer responsible for setting the version data
* Show the delivery summary just before test execution, instead of at the start of the program

* Terminate package name at version operator when a package is filtered for testing</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Compile test installation with debug symbols enabled

* Fix typo in environment variable name

* STASIS_GITHUB_TOKEN is supposed to be STASIS_GH_TOKEN

* Add pattern matching mode selector to get_wheel_file()

* Adds modes WHEEL_MATCH_EXACT and WHEEL_MATCH_ANY

* test block version key is now optional

* Now that *_packages lists define the package version through detection, because the end-result version cannot be guaranteed to be identical to the tag.

* Find the just-compiled package matching the name and version in the package list.
* If compiling master/main this can also match against post-commits (x.y.z.devN+hash)
* Versions are extracted from the package name in the list, only if a matching test block exists. Otherwise the string is passed through to pip directly.

* Changes indentation level of output

* Do not replace @PIP_ARGUMENTS@ with an artifactory URL unless artifactory is enabled

* Sequence change

* Build requested packages before executing tests. A necessary evil if test blocks are no longer responsible for setting the version data
* Show the delivery summary just before test execution, instead of at the start of the program

* Terminate package name at version operator when a package is filtered for testing</pre>
</div>
</content>
</entry>
<entry>
<title>Add github.c and github.h (#9)</title>
<updated>2024-07-06T13:49:51+00:00</updated>
<author>
<name>Joseph Hunkeler</name>
<email>jhunkeler@users.noreply.github.com</email>
</author>
<published>2024-07-06T13:49:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.einval.net/gh_mirror/jhunkeler/stasis.git/commit/?id=8ce824ac4b2f526331093a7150e643700efd4d20'/>
<id>8ce824ac4b2f526331093a7150e643700efd4d20</id>
<content type='text'>
* Add github.c and github.h

* Implements get_github_release_notes()

* Remove unused variables

* Fix circular dependency on tplfunc_frame

* Remove predeclaration of tplfunc_frame
* tpl_register_func accepts pointer to void instead
* tpl_register_func sets maximum number of arguments
* Frame is generated within tpl_register_func

* Improve template function error handling and return/output management

* Remove redundant extern statement

* Include github.h and template_func_proto.h in core.h

* Expose get_github_release_notes_tplfunc_entrypoint function to template engine

* Add template_func_proto.c and template_func_proto.h

* Replace free() with guard variant

* Fix test_template::test_tpl_register_func

* Fix tests

* Fix tests

* cmd should be at least PATH_MAX in size.

* Magic number caused failure to install conda with a long installation path

* Implement get_github_release_notes_auto function that bases release note data off test contexts

* Disable overwriting releases by default

* Add automatic release note generation function call to release_notes.md.in

* Fix test_tpl_register_func()

* Add enough space for tar command plus a path

* Fix circular include

* Github functions do not require access to core.h anyway

* Add comments to union

* Update README to mention template function availability

* Add EnvCtl structure
* Add runtime checks to avoid running all the way to the end only to be met with a configuration error.
* Rename GITHUB to GH

* Development docs pre-rough-draft</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add github.c and github.h

* Implements get_github_release_notes()

* Remove unused variables

* Fix circular dependency on tplfunc_frame

* Remove predeclaration of tplfunc_frame
* tpl_register_func accepts pointer to void instead
* tpl_register_func sets maximum number of arguments
* Frame is generated within tpl_register_func

* Improve template function error handling and return/output management

* Remove redundant extern statement

* Include github.h and template_func_proto.h in core.h

* Expose get_github_release_notes_tplfunc_entrypoint function to template engine

* Add template_func_proto.c and template_func_proto.h

* Replace free() with guard variant

* Fix test_template::test_tpl_register_func

* Fix tests

* Fix tests

* cmd should be at least PATH_MAX in size.

* Magic number caused failure to install conda with a long installation path

* Implement get_github_release_notes_auto function that bases release note data off test contexts

* Disable overwriting releases by default

* Add automatic release note generation function call to release_notes.md.in

* Fix test_tpl_register_func()

* Add enough space for tar command plus a path

* Fix circular include

* Github functions do not require access to core.h anyway

* Add comments to union

* Update README to mention template function availability

* Add EnvCtl structure
* Add runtime checks to avoid running all the way to the end only to be met with a configuration error.
* Rename GITHUB to GH

* Development docs pre-rough-draft</pre>
</div>
</content>
</entry>
</feed>
