"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "models/release.go" between
gitea-1.13.1.tar.gz and gitea-1.13.2.tar.gz

About: Gitea allows to set up a self-hosted code hosting Git service (a fork of Gogs).

release.go  (gitea-1.13.1):release.go  (gitea-1.13.2)
skipping to change at line 57 skipping to change at line 57
var err error var err error
if r.Repo == nil { if r.Repo == nil {
r.Repo, err = GetRepositoryByID(r.RepoID) r.Repo, err = GetRepositoryByID(r.RepoID)
if err != nil { if err != nil {
return err return err
} }
} }
if r.Publisher == nil { if r.Publisher == nil {
r.Publisher, err = getUserByID(e, r.PublisherID) r.Publisher, err = getUserByID(e, r.PublisherID)
if err != nil { if err != nil {
return err if IsErrUserNotExist(err) {
r.Publisher = NewGhostUser()
} else {
return err
}
} }
} }
return getReleaseAttachments(e, r) return getReleaseAttachments(e, r)
} }
// LoadAttributes load repo and publisher attributes for a release // LoadAttributes load repo and publisher attributes for a release
func (r *Release) LoadAttributes() error { func (r *Release) LoadAttributes() error {
return r.loadAttributes(x) return r.loadAttributes(x)
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 5 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)