aboutsummaryrefslogtreecommitdiff
path: root/models/mirror.go
Commit message (Collapse)AuthorAge
* modes/mirror: make Updated unchanged if no new commits fetched (#4341)Unknwon2017-04-06
| | | | | After sync mirror, get latest commit date and compare to current repository updated time, only update it if the commit date is newer.
* models/mirror: feed git.IsRepoURLAccessible with raw mirror addressUnknwon2017-04-04
|
* models/mirror: unescape credentials at read (#4014)Unknwon2017-04-04
| | | | | If we save credentials already escaped, 'url.QueryEscape' still escapes it and makes the credentials become incorrect.
* models/mirror: escape credentials before write mirror address (#4014)Unknwon2017-04-04
| | | | | | | Special characters such as '@', ';', '#' and ':' could occur in password portion of credentials, which breaks the interpretation and saves 'config' file in with extra characters that are not recognized by Git (due to INI library).
* Refactoring: rename modules -> pkgUnknwon2017-04-04
| | | | | | | | Reasons to change: 1. Shorter than 'modules' 2. More generally used by other Go projects 3. Corresponds to the naming of '$GOPATH/pkg' directory
* modes/mirror: corrected NextUpdate not set (#4345)Jonas2017-03-26
|
* repo: update size after fork, migrate and mirror sync (#4336)Unknwon2017-03-24
|
* refactoring: experimental with models/errors packageUnknwon2017-03-12
|
* mirror: update repository updated_unix after sync (#2807)Unknwon2017-03-08
|
* Some file refactoringUnknwon2017-02-10