49 Commits
Author SHA1 Message Date
Jvle c4f9ae0066 fix: add pseudo-version package support
Signed-off-by: Jvle <keke.oerv@isrc.iscas.ac.cn>
2026-09-02 03:47:58 +00:00
Jvle 3d651215da feat: preflight all package requests
Signed-off-by: Jvle <keke.oerv@isrc.iscas.ac.cn>
2026-09-02 03:47:58 +00:00
Jvle 9bc310f72a feat: support go.mod package list
Signed-off-by: Jvle <keke.oerv@isrc.iscas.ac.cn>
2026-09-02 03:47:58 +00:00
Jvle 57fb207289 feat: support packing multiple packages
Signed-off-by: Jvle <keke.oerv@isrc.iscas.ac.cn>
2026-09-02 03:47:58 +00:00
misaka00251 b04996dd02 Merge pull request 'docs: init and add license' (#16) from Jvlegod/go2spec:add-docs into master
Reviewed-on: misaka00251/go2spec#16
Reviewed-by: Kiryuu Sakuya <17+misaka00251@noreply.git.openruyi.cn>
2026-08-10 12:04:52 +00:00
Jvle 14ad496479 docs: init and add license
Signed-off-by: Jvle <keke.oerv@isrc.iscas.ac.cn>
2026-07-20 21:26:47 +08:00
Jvle 50dca06727 fix: clean generated spec formatting
Signed-off-by: Jvle <keke.oerv@isrc.iscas.ac.cn>
2026-07-20 13:06:28 +00:00
Jvle 6d6647bbdf fix: normalize license OR parentheses
Signed-off-by: Jvle <keke.oerv@isrc.iscas.ac.cn>
2026-07-20 09:53:58 +00:00
Jvle 540faa9f51 fix: separate pseudo-version commit id
Signed-off-by: Jvle <keke.oerv@isrc.iscas.cn>
2026-07-16 12:02:24 +08:00
HeliC829 6cd5221803 main: print build version on startup 2026-07-09 04:12:52 +00:00
HeliC829 876da49d34 update: add Go module spec updater 2026-07-09 04:12:31 +00:00
HeliC829 4401e1a516 pack: include source tarball sha256 2026-07-09 04:12:31 +00:00
HeliC829 a1418181b2 pkgsite: add retry backoff logging 2026-07-09 04:12:31 +00:00
HeliC829 3ee6b8bc60 spec: stop generating SPDX header 2026-06-27 17:42:44 +08:00
HNO3Miracle 34f3ab2c70 fix(spec): order doc before license files 2026-06-11 02:23:43 +00:00
HNO3Miracle 6ea075869e [Fix] fix hash version date. 2026-06-11 00:28:35 +08:00
HeliC829andCopilot d09e19bd06 docs: document pkg.go.dev API migration
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-09 18:30:34 +08:00
HeliC829andCopilot d19eadb416 refactor: migrate metadata discovery to pkgsite
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-09 18:30:34 +08:00
HeliC829andCopilot 5064ced366 feat(pkgsite): add pkg.go.dev v1beta client
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-09 18:30:34 +08:00
HeliC829andCopilot 73b3c62184 feat(pack): fall back to git archive when source download fails
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-09 18:30:34 +08:00
HeliC829andCopilot 69cb67bf54 refactor(pack): split runtime and test dependencies
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-09 18:30:34 +08:00
HeliC829andCopilot 44266bb25c feat(hosters): add go.yaml.in short host mapping
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-09 18:30:34 +08:00
HeliC829andCopilot 2835d81f79 fix(spec): pass package path to library subpackage description
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-09 18:30:34 +08:00
HeliC829andCopilot 47e4755872 chore: ignore local build artifacts
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-09 18:30:34 +08:00
misaka00251 e5e251134c Merge pull request 'Fix output format' (#3) from HeliC829/go2spec:master into master
Reviewed-on: misaka00251/go2spec#3
2026-04-14 08:22:21 +00:00
HeliC829 4ba04416b4 Use GITHUB_TOKEN to access GitHub and avoid access limit
Attempt to get GITHUB_TOKEN from environment variables, to avoid GitHub access limit
2026-04-14 16:17:34 +08:00
HeliC829 c3045d0cfe Only exit with error if folder is non-empty 2026-04-14 16:10:00 +08:00
HeliC829 c4cf02616a Fix output format 2026-02-28 11:18:38 +00:00
misaka00251 0bd6b8008b Merge pull request '优化依赖生成及包名输入,方便打包' (#2) from HeliC829/go2spec:master into master
Reviewed-on: misaka00251/go2spec#2
2026-02-12 07:39:47 +00:00
HeliC829 326dc35d51 Avoid unnecessary package name
For most packages, it's enough to use first three parts. If the fourth start with 'v' (version number), keep the fourth part.
2026-02-12 15:25:40 +08:00
HeliC829 9d66df6d16 Remove input URL scheme 2026-02-12 15:20:59 +08:00
HeliC829 dafc545bb6 Remove prep/build/check part, they was replace by go-rpm-macros 2026-02-09 11:14:10 +08:00
HeliC829 0f07c4ba1a Write full commit hash id into spec 2026-02-09 00:12:59 +08:00
HeliC829 dae5376f71 Adjust the spec folder detection logic 2026-02-09 00:12:59 +08:00
HeliC829 00f01556c0 Add more infomation for spec 2026-02-09 00:12:59 +08:00
misaka00251 2ad0fc9bf5 Fix panic in shortHostName when processing domain names that are too short to strip the suffix. 2026-01-04 14:33:36 +08:00
misaka00251 7ff1953987 Update changes 2025-12-02 23:59:52 +08:00
misaka00251 5f6190628a Change golang(xxx) to go(xxx) 2025-12-02 23:43:50 +08:00
misaka00251 23aeff50d2 Newline is important for formatting 2025-12-02 23:36:07 +08:00
misaka00251 6155910ef7 Add Provides for libraries. 2025-12-02 23:33:16 +08:00
misaka00251 5c68cea705 Just list all import paths as dependencies 2025-12-02 23:23:19 +08:00
misaka00251 cee0d87648 Delete stuff 2025-12-02 23:20:37 +08:00
misaka00251 46d9a90614 Remove useless newline. 2025-12-02 22:57:13 +08:00
misaka00251 59e3ae05c9 Fix formatting issues. 2025-12-02 22:53:05 +08:00
misaka00251 a102076a90 Fix multiple formatting issues. 2025-12-02 22:51:27 +08:00
misaka00251 61f0b3389a Fix multiple packaging issues. 2025-12-02 22:46:59 +08:00
misaka00251 1d08915cf2 Change -dev to -devel & Fix spec formatting 2025-12-02 15:24:25 +08:00
misaka00251 b76f948fef Add .gitignore & Fix undefined func 2025-12-01 16:14:56 +08:00
misaka00251 2ace98388d Init project 2025-12-01 14:27:48 +08:00