Bug 280555 - www/tgpt: Update Go version to 1.22 and used go modules
Summary: www/tgpt: Update Go version to 1.22 and used go modules
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Vladimir Druzenko
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-01 13:57 UTC by Yusuf Yaman
Modified: 2024-08-01 23:57 UTC (History)
2 users (show)

See Also:


Attachments
www/tgpt (5.83 KB, patch)
2024-08-01 13:58 UTC, Yusuf Yaman
nxjoseph: maintainer-approval+
Details | Diff
www/tgpt (11.13 KB, patch)
2024-08-01 17:22 UTC, Yusuf Yaman
nxjoseph: maintainer-approval+
Details | Diff
poudriere testport log (77.01 KB, text/plain)
2024-08-01 17:26 UTC, Yusuf Yaman
no flags Details
portlint log (12 bytes, text/plain)
2024-08-01 17:26 UTC, Yusuf Yaman
no flags Details
www/tgpt (6.03 KB, patch)
2024-08-01 17:50 UTC, Yusuf Yaman
nxjoseph: maintainer-approval+
Details | Diff
poudriere testport log (40.52 KB, text/plain)
2024-08-01 17:50 UTC, Yusuf Yaman
no flags Details
portlint log (12 bytes, text/plain)
2024-08-01 17:51 UTC, Yusuf Yaman
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yusuf Yaman 2024-08-01 13:57:41 UTC
In recent update to the port, I forgot to update the used go modules.
Now, I am updating them.
Comment 1 Yusuf Yaman 2024-08-01 13:58:55 UTC
Created attachment 252424 [details]
www/tgpt
Comment 2 Yusuf Yaman 2024-08-01 14:18:46 UTC
This update is work in progress, I marked it as closed for now.
Comment 3 Yusuf Yaman 2024-08-01 17:22:37 UTC
Created attachment 252429 [details]
www/tgpt

In recent update to the port, I forgot to update the used go modules.
Now, I am updating them. Also, I removed USE_GITHUB as I learnt it is
not needed if using GO_MODULE.
Comment 4 Yusuf Yaman 2024-08-01 17:23:10 UTC
I re-opened the report as it is a good patch now.
Comment 5 Yusuf Yaman 2024-08-01 17:26:20 UTC
Created attachment 252430 [details]
poudriere testport log

I attached poudriere testport log.
Comment 6 Yusuf Yaman 2024-08-01 17:26:40 UTC
Created attachment 252431 [details]
portlint log

I attached poudriere portlint log.
Comment 7 Yusuf Yaman 2024-08-01 17:29:26 UTC
Currently it requires networking to build, i am closing it again until everything is fine.
Comment 8 Yusuf Yaman 2024-08-01 17:50:36 UTC
Created attachment 252432 [details]
www/tgpt

Now patch builds without networking. I updated Go version to 1.22 and used go modules.
Comment 9 Yusuf Yaman 2024-08-01 17:50:56 UTC
Created attachment 252433 [details]
poudriere testport log
Comment 10 Yusuf Yaman 2024-08-01 17:51:11 UTC
Created attachment 252434 [details]
portlint log
Comment 11 Yusuf Yaman 2024-08-01 17:52:00 UTC
Now patch builds without networking, re-opening the report.
Comment 12 commit-hook freebsd_committer freebsd_triage 2024-08-01 23:50:20 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=39a5c2d0b3e67acc54ee0189dbc3a4205b1abc97

commit 39a5c2d0b3e67acc54ee0189dbc3a4205b1abc97
Author:     Yusuf Yaman <nxjoseph@protonmail.com>
AuthorDate: 2024-08-01 23:45:24 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2024-08-01 23:48:46 +0000

    www/tgpt: Update Go version to 1.22 and used go modules

    In recent update to the port, I forgot to update the used go modules.
    Now, I am updating them.

    PR:     280555 279620
    Fixes:  fce4a9245139 (Update to 2.8.0)
    MFH:    2024Q3

 www/tgpt/Makefile | 15 +++++++--------
 www/tgpt/distinfo | 16 ++++++++--------
 2 files changed, 15 insertions(+), 16 deletions(-)
Comment 13 commit-hook freebsd_committer freebsd_triage 2024-08-01 23:54:22 UTC
A commit in branch 2024Q3 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=be965f2bd3b77035cf5381927f4f559288d7e3c9

commit be965f2bd3b77035cf5381927f4f559288d7e3c9
Author:     Yusuf Yaman <nxjoseph@protonmail.com>
AuthorDate: 2024-08-01 23:45:24 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2024-08-01 23:53:17 +0000

    www/tgpt: Update Go version to 1.22 and used go modules

    In recent update to the port, I forgot to update the used go modules.
    Now, I am updating them.

    PR:     280555 279620
    Fixes:  fce4a9245139 (Update to 2.8.0)
    MFH:    2024Q3
    (cherry picked from commit 39a5c2d0b3e67acc54ee0189dbc3a4205b1abc97)

 www/tgpt/Makefile | 15 +++++++--------
 www/tgpt/distinfo | 16 ++++++++--------
 2 files changed, 15 insertions(+), 16 deletions(-)
Comment 14 Vladimir Druzenko freebsd_committer freebsd_triage 2024-08-01 23:57:47 UTC
Thanks.