edieruby
  • Joined on 2022-09-30
edieruby closed pull request gitea/go-sdk#609 2023-12-28 07:35:08 +00:00
add func to DownloadReleaseAttachment
edieruby pushed to feat/download_attachment_with_auth at edieruby/go-sdk 2023-01-03 06:49:41 +00:00
a858c24fc1 feat: add auth in header
edieruby created branch feat/download_attachment_with_auth in edieruby/go-sdk 2023-01-03 06:49:41 +00:00
edieruby commented on pull request gitea/go-sdk#609 2022-11-22 09:52:15 +00:00
add func to DownloadReleaseAttachment

Data will contain the error message. It's just same with the process in getResponseReader Line:380

edieruby commented on pull request gitea/go-sdk#609 2022-11-22 01:45:58 +00:00
add func to DownloadReleaseAttachment

add the check

edieruby pushed to download.attachment at edieruby/go-sdk 2022-11-14 02:02:55 +00:00
19e129e36b add the error check
edieruby commented on pull request gitea/go-sdk#609 2022-11-03 01:50:33 +00:00
add func to DownloadReleaseAttachment

Download the attachment in public repo is okay.

My original purpose is download the attachment in private repo.

It deployed in my local environment, and most repos are private.

edieruby pushed to download.attachment at edieruby/go-sdk 2022-11-03 01:43:51 +00:00
96d12f8334 Merge pull request 'dont create new func use current func and make it more modular' (#1) from 6543/go-sdk:download.attachment into download.attachment
7e94d3208e dont create new func use current func and make it more modular
Compare 2 commits »
edieruby merged pull request edieruby/go-sdk#1 2022-11-03 01:43:51 +00:00
dont create new func use current func and make it more modular
edieruby commented on pull request edieruby/go-sdk#1 2022-11-03 01:42:23 +00:00
dont create new func use current func and make it more modular

Download is okay in public repo.

edieruby commented on pull request edieruby/go-sdk#1 2022-11-02 01:28:28 +00:00
dont create new func use current func and make it more modular

I comment in the gitea/go-sdk#609 Can you see that?

edieruby commented on pull request gitea/go-sdk#609 2022-10-20 02:17:30 +00:00
add func to DownloadReleaseAttachment

Used this func at the beginning. Seems not work. lack header setting. different from this func. func (c *Client) doRequest(method, path string, header http.Header, body io.Reader) (*Response,…

edieruby commented on pull request gitea/go-sdk#609 2022-10-20 02:02:51 +00:00
add func to DownloadReleaseAttachment

also it would be nice to have a test in place :)

Hello, I used the current func at the beginning. It does not work. I tested it with my local gitea. I get the response is 404 Not…

edieruby reopened pull request gitea/go-sdk#609 2022-10-20 01:56:16 +00:00
add func to DownloadReleaseAttachment
edieruby closed pull request gitea/go-sdk#609 2022-10-20 01:56:11 +00:00
add func to DownloadReleaseAttachment
edieruby pushed to main at edieruby/go-sdk 2022-10-17 01:34:34 +00:00
2d9ee57af1 update go.mod (#608)
1c9c71d84a Add ListPullRequestFiles (#607)
Compare 2 commits »
edieruby commented on pull request gitea/go-sdk#609 2022-10-17 01:14:26 +00:00
add func to DownloadReleaseAttachment

@edieruby please allow "maintainers edit" on pulls :)

allowed

edieruby pushed to download.attachment at edieruby/go-sdk 2022-10-14 01:39:28 +00:00
592eb3d33f change to io.ReadCloser
edieruby commented on pull request gitea/go-sdk#609 2022-10-13 12:14:01 +00:00
add func to DownloadReleaseAttachment

I will update it.

edieruby commented on pull request gitea/go-sdk#608 2022-10-13 12:12:31 +00:00
update go.mod

used in gitea/agent_windows.go I just fix the import error.