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
938851a7
Kaydet (Commit)
938851a7
authored
Ock 27, 2018
tarafından
Suleyman Poyraz
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Package yerine Packages kullanılmış. Bir harf nelere kâdir ya Rabbim?
üst
31ab0b21
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
12 additions
and
84 deletions
+12
-84
FIXME.md
FIXME.md
+0
-72
specfile.py
inary/data/specfile.py
+2
-2
packagedb.py
inary/db/packagedb.py
+5
-4
install.py
inary/operations/install.py
+1
-1
autoxml.py
inary/sxml/autoxml.py
+3
-4
xmlext.py
inary/sxml/xmlext.py
+1
-1
No files found.
FIXME.md
Dosyayı görüntüle @
938851a7
...
...
@@ -5,78 +5,6 @@
cıkıyor
2018-01-22 Suleyman POYRAZ
<nipalensisaquila@gmail.com>
*
itembyrepo patladı --- STATUS: NOT FIXED; FLAG: CRITICAL ---:
itemby repo ile paketlerin getirilmesi sirasinda ters giden
biseyler var. Mevcut binary depodaki hicbir sey listelenmiyor
Ya index alinirken bir sikinti oldugu icin ya da ciddi ciddi
itembyrepo patladi gitti. Uff cok sinir bozucu bisey.
```
ADDONS
#~ sudo inary-cli it libtool --no-color
Warning: Safety switch: The component system.base cannot be found.
Error: System error. Program terminated.
Error: Repo item libtool not found
Please use 'inary help' for general help.
Use --debug to see a traceback.
#~ sudo inary-cli it libtool --no-color --debug
DEBUG: HistoryDB initialized in 0.00017023086547851562.
DEBUG: ComponentDB initialized in 0.00010442733764648438.
DEBUG: RepoDB initialized in 6.246566772460938e-05.
Warning: Safety switch: The component system.base cannot be found.
DEBUG: PackageDB initialized in 9.870529174804688e-05.
Error: System error. Program terminated.
Error: <class 'Exception'>: Repo item libtool not found
Please use 'inary help' for general help.
Traceback:
File "/usr/local/bin/inary-cli", line 82, in <module>
cli.run_command()
File "/usr/local/lib/python3.5/dist-packages/inary/cli/inarycli.py", line 145, in run_command
self.command.run()
File "/usr/local/lib/python3.5/dist-packages/inary/cli/install.py", line 105, in run
Reactor.install(packages, ctx.get_option('reinstall') or reinstall)
File "/usr/local/lib/python3.5/dist-packages/inary/reactor.py", line 49, in wrapper
ret = func(*__args,**__kw)
File "/usr/local/lib/python3.5/dist-packages/inary/reactor.py", line 389, in install
return inary.operations.install.install_pkg_names(packages, reinstall)
File "/usr/local/lib/python3.5/dist-packages/inary/operations/install.py", line 59, in install_pkg_names
G_f, order = plan_install_pkg_names(A)
File "/usr/local/lib/python3.5/dist-packages/inary/operations/install.py", line 281, in plan_install_pkg_names
G_f.add_package(x)
File "/usr/local/lib/python3.5/dist-packages/inary/data/pgraph.py", line 176, in add_package
pkg1 = self.packagedb.get_package(pkg)
File "/usr/local/lib/python3.5/dist-packages/inary/db/packagedb.py", line 87, in get_package
pkg, repo = self.get_package_repo(name, repo)
File "/usr/local/lib/python3.5/dist-packages/inary/db/packagedb.py", line 160, in get_package_repo
pkg, repo = self.pdb.get_item_repo(name, repo)
File "/usr/local/lib/python3.5/dist-packages/inary/db/itembyrepo.py", line 50, in get_item_repo
raise Exception(_("Repo item {} not found").format(str(item)))
Error: System error. Program terminated.
Error: <class 'Exception'>: Repo item libtool not found
Please use 'inary help' for general help.
#~ sudo inary-cli info libtool --debug
Installed package:
Name : libtool, version: 2.4.6, release: 1
Summary : Program geliştiriciler için ortak kütüphane aracı
Description : Libtool, program geliştiriciler için bir paylaşımlı
kütüphane aracıdır.
Licenses : GPLv2
Component : system.devel
Provides :
Dependencies : gnuconfig
Distribution : Sulin, Dist. Release: 2018
Architecture : x86_64, Installed Size: 3.58 MB, install.tar.xz sha1sum:
cb0149d7681ea4df32e8e043b48ce4a8f811a8cf
Reverse Dependencies:
libtool package is not found in binary repositories
libtool package is not found in source repositories
```
2018-01-14 Suleyman POYRAZ
<nipalensisaquila@gmail.com>
*
inary/atomicoperations.py --- STATUS: NOT FIXED ---
In removing not asking "Do you want remove conflicted files "
...
...
inary/data/specfile.py
Dosyayı görüntüle @
938851a7
...
...
@@ -171,8 +171,8 @@ class Source(metaclass= autoxml.autoxml):
t_License
=
[
[
autoxml
.
String
],
autoxml
.
mandatory
]
t_IsA
=
[
[
autoxml
.
String
],
autoxml
.
optional
]
t_PartOf
=
[
autoxml
.
String
,
autoxml
.
optional
]
t_Summary
=
[
autoxml
.
String
,
autoxml
.
mandatory
]
## FIXME autoxml.LocalText should be typed with bytes
t_Description
=
[
autoxml
.
String
,
autoxml
.
mandatory
]
t_Summary
=
[
autoxml
.
LocalText
,
autoxml
.
mandatory
]
## FIXME autoxml.LocalText should be typed with bytes
t_Description
=
[
autoxml
.
LocalText
,
autoxml
.
mandatory
]
t_Icon
=
[
autoxml
.
String
,
autoxml
.
optional
]
t_Archive
=
[
[
Archive
],
autoxml
.
mandatory
,
"Archive"
]
t_AdditionalFiles
=
[
[
AdditionalFile
],
autoxml
.
optional
]
...
...
inary/db/packagedb.py
Dosyayı görüntüle @
938851a7
...
...
@@ -30,6 +30,7 @@ class PackageDB(lazydb.LazyDB):
def
__init__
(
self
):
lazydb
.
LazyDB
.
__init__
(
self
,
cacheable
=
True
)
self
.
init
()
def
init
(
self
):
self
.
__package_nodes
=
{}
# Packages
...
...
@@ -65,10 +66,10 @@ class PackageDB(lazydb.LazyDB):
return
[
x
.
firstChild
()
.
data
()
for
x
in
obsoletes
.
tags
(
"Package"
)]
def
__generate_packages
(
self
,
doc
):
dict
=
{}
for
x
in
doc
.
tags
(
"Package
s
"
):
dict
[
x
.
getTagData
(
"Name"
)]
=
gzip
.
zlib
.
compress
(
x
.
toString
(
))
return
dict
p
dict
=
{}
for
x
in
doc
.
tags
(
"Package"
):
pdict
[
x
.
getTagData
(
"Name"
)]
=
gzip
.
zlib
.
compress
(
x
.
toString
()
.
encode
(
'utf-8'
))
return
p
dict
def
__generate_revdeps
(
self
,
doc
):
revdeps
=
{}
...
...
inary/operations/install.py
Dosyayı görüntüle @
938851a7
...
...
@@ -255,7 +255,7 @@ def install_pkg_files(package_URIs, reinstall = False):
if
conflicts
:
operations
.
remove
.
remove_conflicting_packages
(
conflicts
)
order
.
reverse
()
#
ctx.ui.info(_('Installation order: ') + util.strlist(order) )
ctx
.
ui
.
info
(
_
(
'Installation order: '
)
+
util
.
strlist
(
order
)
)
if
ctx
.
get_option
(
'dry_run'
):
return
True
...
...
inary/sxml/autoxml.py
Dosyayı görüntüle @
938851a7
...
...
@@ -162,8 +162,7 @@ class Writer(formatter.DumbWriter):
formatter
.
DumbWriter
.
__init__
(
self
,
file
,
maxcol
)
def
send_literal_data
(
self
,
data
):
#self.file.write(data.encode("utf-8"))
self
.
file
.
write
(
data
)
self
.
file
.
write
(
data
.
encode
(
"utf-8"
))
i
=
data
.
rfind
(
'
\n
'
)
if
i
>=
0
:
self
.
col
=
0
...
...
@@ -332,7 +331,7 @@ class autoxml(oo.autosuper, oo.autoprop):
cls
.
__init__
=
initialize
cls
.
decoders
=
decoders
def
decode
(
self
,
node
,
errs
,
where
=
(
cls
.
tag
)):
def
decode
(
self
,
node
,
errs
,
where
=
String
(
cls
.
tag
)):
for
base
in
cls
.
autoxml_bases
:
base
.
decode
(
self
,
node
,
errs
,
where
)
for
decode_member
in
decoders
:
#self.__class__.decoders:
...
...
@@ -352,7 +351,7 @@ class autoxml(oo.autosuper, oo.autoprop):
cls
.
encode
=
encode
cls
.
errorss
=
errorss
def
errors
(
self
,
where
=
(
name
)):
def
errors
(
self
,
where
=
String
(
name
)):
errs
=
[]
for
base
in
cls
.
autoxml_bases
:
errs
.
extend
(
base
.
errors
(
self
,
where
))
...
...
inary/sxml/xmlext.py
Dosyayı görüntüle @
938851a7
...
...
@@ -75,7 +75,7 @@ def getNodeText(node, tagpath = ""):
if
child
.
type
()
==
iks
.
DATA
:
# KLUDGE: FIXME: python 2.x bug: force decoding as UTF-8
child_data
=
str
(
child
.
data
())
#print
'child_data=', child_data
#print
('child_data=', child_data.strip())
return
child_data
.
strip
()
# in any case, strip whitespaces...
else
:
raise
XmlError
(
_
(
"getNodeText: Expected text node, got something else!"
))
...
...
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