aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/models/package.go')
-rw-r--r--pkg/models/package.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkg/models/package.go b/pkg/models/package.go
index f543891..659dcd8 100644
--- a/pkg/models/package.go
+++ b/pkg/models/package.go
@@ -15,6 +15,7 @@ type Package struct {
Longdescription string
Maintainers []*Maintainer
Upstream Upstream
+ AnityaInfo *AnityaInfo
Commits []*Commit `pg:"many2many:commit_to_packages,join_fk:commit_id"`
PrecedingCommits int `pg:",use_zero"`
PkgCheckResults []*PkgCheckResult `pg:",fk:atom,rel:has-many"`
@@ -63,6 +64,10 @@ type RemoteId struct {
Id string
}
+type AnityaInfo struct {
+ Project string
+}
+
type packageDepMap struct {
Version string
Atom string