Unknwon
e33d9e77f4
vendor: rename "gogits" to "gogs"
7 years ago
Unknwon
aff4208244
*: rename "gogits" to "gogs"
7 years ago
Unknwon
ce6e8ed8fe
models: remove redundant tags for primary keys
8 years ago
Unknwon
8d0417497b
modes/mirror: make Updated unchanged if no new commits fetched ( #4341 )
...
After sync mirror, get latest commit date and compare to current
repository updated time, only update it if the commit date is newer.
8 years ago
Unknwon
c05717a5f0
models/mirror: feed git.IsRepoURLAccessible with raw mirror address
8 years ago
Unknwon
5a488b6517
models/mirror: unescape credentials at read ( #4014 )
...
If we save credentials already escaped, 'url.QueryEscape' still
escapes it and makes the credentials become incorrect.
8 years ago
Unknwon
ae1d50d19a
models/mirror: escape credentials before write mirror address ( #4014 )
...
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).
8 years ago
Unknwon
d05395fe90
Refactoring: rename modules -> pkg
...
Reasons to change:
1. Shorter than 'modules'
2. More generally used by other Go projects
3. Corresponds to the naming of '$GOPATH/pkg' directory
8 years ago
Jonas
f40eb9774e
modes/mirror: corrected NextUpdate not set ( #4345 )
8 years ago
Unknwon
7a99e56893
repo: update size after fork, migrate and mirror sync ( #4336 )
8 years ago
Unknwon
05dbd3f7d7
refactoring: experimental with models/errors package
8 years ago
Unknwon
295d251232
mirror: update repository updated_unix after sync ( #2807 )
8 years ago
Unknwon
6b6f54b79b
Some file refactoring
8 years ago
Unknwon
eb66060cd7
log: start using gopkg.in/clog.v1
8 years ago
Unknwon
d293aa9ced
Do a fast-fail testing on repository URL before mirroring
...
To ensure the URL is accessible under good condition to prevent
long blocking on URL resolution without syncing anything.
8 years ago
Alexander Lunegov
7358e46815
Fix string format verbs ( #3637 )
8 years ago
Unknwon
6da55159a2
#3589 LoadRepoConfig after ORM is initialized
8 years ago
Unknwon
c2afdf2192
Minor code fix [CI SKIP]
8 years ago
Unknwon
8516dfcb6c
#2018 able to sync now for mirrors
...
- Refactor code to use sync.UniqueQueue
- Closes #3509
8 years ago