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
6b26e484
Kaydet (Commit)
6b26e484
authored
May 07, 2021
tarafından
Your Name
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
package extract owner and repository update history bugs are fixed
üst
68d0b397
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
4 deletions
+13
-4
archive.py
inary/archive.py
+9
-3
repository.py
inary/operations/repository.py
+4
-1
No files found.
inary/archive.py
Dosyayı görüntüle @
6b26e484
...
...
@@ -515,8 +515,15 @@ class ArchiveTar(ArchiveBase):
#
# Note: This is no good while installing a inary package.
# Thats why this is optional.
if
self
.
no_same_permissions
and
not
os
.
path
.
islink
(
tarinfo
.
name
):
os
.
chmod
(
tarinfo
.
name
,
tarinfo
.
mode
&
~
ctx
.
const
.
umask
)
if
not
os
.
path
.
islink
(
tarinfo
.
name
):
os
.
chown
(
tarinfo
.
name
,
0
,
0
)
if
self
.
no_same_permissions
:
os
.
chmod
(
tarinfo
.
name
,
tarinfo
.
mode
&
~
ctx
.
const
.
umask
)
else
:
os
.
chmod
(
tarinfo
.
name
,
0
o755
&
~
ctx
.
const
.
umask
)
else
:
os
.
lchown
(
tarinfo
.
name
,
0
,
0
)
print
(
tarinfo
.
name
)
if
self
.
no_same_owner
:
uid
=
os
.
getuid
()
...
...
@@ -533,7 +540,6 @@ class ArchiveTar(ArchiveBase):
_
(
"LChowning {0} ({1}:{2})"
)
.
format
(
tarinfo
.
name
,
uid
,
gid
),
verbose
=
True
)
os
.
lchown
(
tarinfo
.
name
,
uid
,
gid
)
if
callback
:
callback
(
tarinfo
,
extracted
=
True
)
...
...
inary/operations/repository.py
Dosyayı görüntüle @
6b26e484
...
...
@@ -21,6 +21,7 @@ import inary.file
import
inary.errors
import
inary.util
as
util
import
inary.context
as
ctx
import
inary.data.history
as
History
# Gettext Library
import
gettext
...
...
@@ -115,7 +116,9 @@ def __update_repo(repo, force=False):
else
:
return
False
inary
.
db
.
historydb
.
HistoryDB
()
.
update_repo
(
repo
,
repouri
,
"update"
)
history
=
History
.
History
()
history
.
create
(
"repoupdate"
)
history
.
update
()
repodb
.
check_distribution
(
repo
)
...
...
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