Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
I
inary
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
1
Konular (issue)
1
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
SulinOS
inary
Commits
3dedc15e
Kaydet (Commit)
3dedc15e
authored
Nis 03, 2021
tarafından
Your Name
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
inary enable-disable repo actions dont need cache update
üst
37628ed5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
6 deletions
+4
-6
init.py
inary/cli/init.py
+3
-1
repodb.py
inary/db/repodb.py
+1
-1
repository.py
inary/operations/repository.py
+0
-4
No files found.
inary/cli/init.py
Dosyayı görüntüle @
3dedc15e
...
...
@@ -13,6 +13,8 @@
#
import
inary.cli.command
as
command
from
inary.operations
import
repository
import
inary.db
# Gettext Library
import
gettext
...
...
@@ -32,4 +34,4 @@ class InitNothing(command.PackageOp, metaclass=command.autocommand):
pass
def
run
(
self
):
pass
repodb
=
inary
.
db
.
repodb
.
RepoDB
()
inary/db/repodb.py
Dosyayı görüntüle @
3dedc15e
...
...
@@ -154,7 +154,7 @@ class RepoDB(lazydb.LazyDB):
def
__init__
(
self
):
lazydb
.
LazyDB
.
__init__
(
self
,
cacheable
=
Fals
e
,
cacheable
=
Tru
e
,
cachedir
=
ctx
.
config
.
packages_dir
())
def
init
(
self
):
...
...
inary/operations/repository.py
Dosyayı görüntüle @
3dedc15e
...
...
@@ -45,8 +45,6 @@ def add_repo(name, indexuri, at=None):
else
:
repo
=
inary
.
db
.
repodb
.
Repo
(
inary
.
uri
.
URI
(
indexuri
))
repodb
.
add_repo
(
name
,
repo
,
at
=
at
)
ctx
.
ui
.
info
(
_
(
'Flushing database caches...'
),
verbose
=
True
)
inary
.
db
.
flush_caches
()
ctx
.
ui
.
info
(
_
(
'Repository
\"
{}
\"
added to system.'
)
.
format
(
name
))
...
...
@@ -76,8 +74,6 @@ def set_repo_activity(name, active):
repodb
.
activate_repo
(
name
)
else
:
repodb
.
deactivate_repo
(
name
)
ctx
.
ui
.
info
(
_
(
'Regenerating database caches...'
),
verbose
=
True
)
inary
.
db
.
regenerate_caches
()
@util.locked
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment