1
0
Fork 0
mirror of https://github.com/gocsaf/csaf.git synced 2025-12-21 23:20:10 +01:00
Commit graph

32 commits

Author SHA1 Message Date
Bernhard E. Reiter
f6927154bf
improve calculated version numbers (#651)
for modified git workspaces a `-modified` is added to the semantic version
  in the makefile.
2025-09-01 15:40:26 +02:00
Paul Schwabauer
1f1a2a4cbc
Add arm64 builds for windows and linux (#663) 2025-09-01 12:04:17 +02:00
JanHoefelmeyer
9c62e89a23 Feat: More explicitely handle which doc files are included in the gnulinux dist 2025-06-24 14:34:44 +02:00
koplas
36aab33de4 Use folder name as version if git describe failed 2025-06-20 16:50:13 +02:00
Bernhard Reiter
1e3504c753 improve Makefile improvement 2024-11-15 19:54:00 +01:00
Bernhard Reiter
ace8aeaf98 fix: build-in version for release tags
* Change Makefile to remove the leading `v` from the git tag
   in the case of release tags. Previously this was only done for
   pre-release git tags.
2024-11-15 19:54:00 +01:00
Bernhard Reiter
e8706e5eb9 feat: perform go path repo move
* Change the go module path
   from github.com/csaf-poc/csaf_distribution to github.com/gocsaf/csaf.
 * Rename archive for release tarballs.
 * Adjust testing scripts and documentation.
2024-11-04 13:20:47 +01:00
JanHoefelmeyer
39a29e39f1 Change Licenses from MIT to Apache 2.0 2024-04-22 13:11:30 +02:00
Bernhard Reiter
1e506d46cc
feat: add macos binaries archive to Makefile 2023-10-13 17:52:14 +02:00
Andreas Huber
d69101924b Add build for macOS 2023-10-06 17:47:12 +02:00
Sascha L. Teichmann
7a8cdb6d19
Lift distribution from v2 to v3. (#467)
* v2 -> v3

* Increase version within Makefile

---------

Co-authored-by: JanHoefelmeyer <hoefelmeyer.jan@gmail.com>
2023-09-27 15:46:57 +02:00
Sascha L. Teichmann
813c083198 Burn v2 version into binaries. 2023-06-20 12:52:49 +02:00
Sascha L. Teichmann
aa574406cf
Upgrade jsonschema library to 5.2.0 (#349)
* make jsonschema loading work with current versions of the jsonschema library
   again and simplify the code while at it.
* Improve itest workflow for validation service, to make them more robust.
    * Use a github action to setup nodejs and use a version that is
       required by https://github.com/secvisogram/csaf-validator-service/.
    * Add nodejs16 installation to prepareUbuntuInstanceForITests.sh.
       (so it can be done once in manual settings)
    * Add refreshing of apt cache before apt install because sometimes
       the cached ubuntu image does not have the apt cache current.

---------

Co-authored-by: Bernhard Reiter <bernhard@intevation.de>
2023-03-10 10:39:23 +01:00
Sascha L. Teichmann
b80163c35f Indent multi lines in Makefile a bit more 2023-02-02 17:38:39 +01:00
Sascha L. Teichmann
a90830b07c Indent Makefile 2023-02-02 17:38:39 +01:00
JanHoefelmeyer
69908fc2c8 Whitespaces to Tabs in Makefile for consistency 2023-02-02 17:38:39 +01:00
JanHoefelmeyer
4453484811 Indents newlines 2023-02-02 17:38:39 +01:00
JanHoefelmeyer
e6c9f4d4da Adds linebreaks into overly long lines in 'make dist' in the Makefile 2023-02-02 17:38:39 +01:00
JanHoefelmeyer
970a891422 Adds csaf_validator to windows dist 2023-02-02 17:38:39 +01:00
Sascha L. Teichmann
b359fd0a62
Add CSAF downloader
* Dense and refactor ROLIE code in aggregator a bit.
* Move  advisory file processor to csaf package.
* Fix minor typo on main readme
2022-06-23 14:14:44 +02:00
Bernhard Reiter
89edf94cee
Improve Makefile to better set version number
* Add --always to git describe to also return if we are run
   on a shallow clone in a git hub action with action/checkout.
2022-06-01 09:56:37 +02:00
Fadi Abbud
6f02e6f5a5
Improve documentation and its structure
* Add short description for each component in the main README
* Move more Info in separated files.
* Add hint that csaf_provider offers a service interface.
* Explain why windows only has uploader and checker.

Co-authored-by: Bernhard Reiter <bernhard@intevation.de>
2022-05-13 11:04:38 +02:00
Bernhard E. Reiter
102a0bb6c1
Improve release process
* Add only uploader and checker binaries and basic documentation to windows dist archive.
  Prepare for specific docs.

* Improve Makefile to be able to use github lightweight git tags for release version calculation.
* Change github action to use the make dist target for asset uploading.
  * Remove matrix strategy and single go release actions.
  * Update go setup action to use latest version.
   * Use action to upload both distribution archives created by make.

* Improve the pattern to leave tagged release version numbers like
   `0.2.2-alpha` alone and only increase version numbers where
   git describe has added a string starting with a number.
2022-05-11 12:46:02 +02:00
Bernhard Reiter
b08eb94fdb
Add dist Makefile target
* Using a simple combined recipe to create to dist directories for
  a release archive with all docs.
2022-04-29 11:42:10 +02:00
Fadi Abbud
6fe6907c1d
Add --version option
* Add flag to display the version for each binary. It is based on `git describe` but adds
  a number to the PATCH level if we are between annotated tags, so makes it semver.org
 compatible. Use the "-ldflags" method that also works with go 1.17.
* Use Makefile bash and sed magic to do PATCH level increase if needed.

Co-authored-by: Bernhard Reiter <bernhard@intevation.de>
2022-04-13 14:27:11 +02:00
Fadi Abbud
566e4260df
Add License header to Makefile and adjust the README (#53)
* Add License header to Makefile and adjust the README
2022-02-09 15:52:05 +01:00
Bernhard Reiter
65605b2928
Improve Makefile
* Change mechanics to use a variable to indicate if a tag build is
   wanted. Add ability to specify tag explictely.
 * Use variables to have only one build recipe.
 * Place binaries in target specific bin- directories.
 * Do not return to main branch as it may not be the original branch we
   were on. Turn this into a warning.
2022-02-08 17:31:49 +01:00
Fadi Abbud
221d7269ec Replace "binaries" with "bin" in comments and one target 2022-02-03 12:27:13 +01:00
Sascha L. Teichmann
9680a220be Rename binaries folder to bin. 2022-02-02 11:20:51 +01:00
Fadi Abbud
ec6cabb9ac Add one target to Makefile
* "build_linux": building for GNU/linux
* "build": Building for both linux and windows (cross build)
* Place the generate binaries under "binaries/" directory
* Improve echo messages
2022-01-31 13:09:47 +01:00
Fadi Abbud
84c3a108d0 Add some detail 2022-01-18 16:16:33 +01:00
Fadi Abbud
97ca513f9b Add Makefile for building go components
* Makefile with the following targets
	** build for (linux system)
     	** build_win  (windows system)
     	** build_tag (build from the last tag)
     	** clean  for (removing the binaries)
* Adjust README file
2022-01-17 17:11:15 +01:00