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
827e9f6a
Kaydet (Commit)
827e9f6a
authored
Haz 30, 2020
tarafından
Suleyman Poyraz
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Merge branch 'patch-41845' into 'develop'
Patch 41845 See merge request sulinos/devel/inary!24
üst
03230f3d
1759e88e
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
2 deletions
+12
-2
atomicoperations.py
inary/atomicoperations.py
+5
-0
upgrade.py
inary/cli/upgrade.py
+7
-0
fetcher.py
inary/fetcher.py
+0
-2
No files found.
inary/atomicoperations.py
Dosyayı görüntüle @
827e9f6a
...
...
@@ -487,10 +487,15 @@ class Install(AtomicOperation):
if
os
.
path
.
samestat
(
new_file_stat
,
old_file_stat
):
break
else
:
remove_permanent
=
not
ctx
.
config
.
get_option
(
"preserve_permanent"
)
Remove
.
remove_file
(
old_file
,
self
.
pkginfo
.
name
,
remove_permanent
,
store_old_paths
=
self
.
store_old_paths
)
if
self
.
reinstall
():
...
...
inary/cli/upgrade.py
Dosyayı görüntüle @
827e9f6a
...
...
@@ -64,6 +64,13 @@ expanded to package names.
default
=
False
,
help
=
_
(
"Skip sysconf operations after installation."
))
group
.
add_option
(
"--force-sysconf"
,
action
=
"store_true"
,
default
=
False
,
help
=
_
(
"Force sysconf operations after installation. Applies all sysconf operations"
))
group
.
add_option
(
"--preserve-permanent"
,
action
=
"store_true"
,
default
=
False
,
help
=
_
(
"Preserves permanent tagged files on upgrade action "
"like some important libc modules. This is used to be "
"sure about stability of system packages. This helps "
"you preserve your own source compiled applications "
"like pip modules, gem installations etc."
))
group
.
add_option
(
"-c"
,
"--component"
,
action
=
"append"
,
default
=
None
,
help
=
_
(
"Upgrade component's and recursive components' packages."
))
group
.
add_option
(
"-r"
,
"--repository"
,
action
=
"store"
,
...
...
inary/fetcher.py
Dosyayı görüntüle @
827e9f6a
...
...
@@ -40,8 +40,6 @@ try:
except
ImportError
:
raise
(
_
(
"PyCurl module not found. Please install python3-pycurl or check your installation."
))
# inary modules
# For raising errors when fetching
class
FetchError
(
inary
.
errors
.
Error
):
...
...
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