You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/models
FuXiaoHei c757765a9e
Implement actions artifacts (#22738)
Implement action artifacts server api.

This change is used for supporting
https://github.com/actions/upload-artifact and
https://github.com/actions/download-artifact in gitea actions. It can
run sample workflow from doc
https://docs.github.com/en/actions/using-workflows/storing-workflow-data-as-artifacts.
The api design is inspired by
https://github.com/nektos/act/blob/master/pkg/artifacts/server.go and
includes some changes from gitea internal structs and methods.

Actions artifacts contains two parts:

- Gitea server api and storage (this pr implement basic design without
some complex cases supports)
- Runner communicate with gitea server api (in comming)

Old pr https://github.com/go-gitea/gitea/pull/22345 is outdated after
actions merged. I create new pr from main branch.


![897f7694-3e0f-4f7c-bb4b-9936624ead45](https://user-images.githubusercontent.com/2142787/219382371-eb3cf810-e4e0-456b-a8ff-aecc2b1a1032.jpeg)

Add artifacts list in actions workflow page.
1 year ago
..
actions Implement actions artifacts (#22738) 1 year ago
activities Fix commits pushed with deploy keys not shown in dashboard (#24521) 1 year ago
admin Make repo migration cancelable and fix various bugs (#24605) 1 year ago
asymkey Merge setting.InitXXX into one function with options (#24389) 1 year ago
auth Fix 500 error if there is a name conflict when edit authentication source (#23832) 1 year ago
avatars Avoid warning for system setting when start up (#23054) 1 year ago
db Improve milestone filter on issues page (#22423) 1 year ago
dbfs Merge setting.InitXXX into one function with options (#24389) 1 year ago
fixtures Implement actions artifacts (#22738) 1 year ago
git Fix missed table name on iterate lfs meta objects (#24768) 1 year ago
issues Remove duplicated issues options and some more refactors (#24787) 1 year ago
migrations Implement actions artifacts (#22738) 1 year ago
organization Fix team members API endpoint pagination (#24754) 1 year ago
packages Add Go package registry (#24687) 1 year ago
perm Rename `repo.GetOwner` to `repo.LoadOwner` (#22967) 1 year ago
project Improve GetBoards and getDefaultBoard (#22981) 1 year ago
pull refactor some functions to support ctx as first parameter (#21878) 2 years ago
repo Refactor Pull Mirror and fix out-of-sync bugs (#24732) 1 year ago
secret Respect original content when creating secrets (#24745) 1 year ago
shared/types Display owner of a runner as a tooltip instead of static text (#24377) 1 year ago
system Avoid warning for system setting when start up (#23054) 1 year ago
unit Require at least one unit to be enabled (#24189) 1 year ago
unittest Implement actions artifacts (#22738) 1 year ago
user Add Debian package registry (#24426) 1 year ago
webhook Fix incorrect webhook time and use relative-time to display it (#24477) 1 year ago
error.go Implement FSFE REUSE for golang files (#21840) 2 years ago
fixture_generation.go Implement FSFE REUSE for golang files (#21840) 2 years ago
fixture_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
main_test.go Merge setting.InitXXX into one function with options (#24389) 1 year ago
migrate.go Check primary keys for all tables and drop ForeignReference (#21721) 2 years ago
migrate_test.go Check primary keys for all tables and drop ForeignReference (#21721) 2 years ago
org.go refactor some functions to support ctx as first parameter (#21878) 2 years ago
org_team.go Remove org users who belong to no teams (#24247) 1 year ago
org_team_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
org_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
repo.go Implement actions artifacts (#22738) 1 year ago
repo_collaboration.go refactor some functions to support ctx as first parameter (#21878) 2 years ago
repo_collaboration_test.go Rename `repo.GetOwner` to `repo.LoadOwner` (#22967) 1 year ago
repo_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
repo_transfer.go Fix unclear `IsRepositoryExist` logic (#24374) 1 year ago
repo_transfer_test.go Rename almost all Ctx functions (#22071) 2 years ago