Do you know about the cause by which the zypper-etckeeper.py does not operate ? (was: [opensuse-factory] Request for package the "etckeeper", please put the "etckeeper" into Factory's official repository .)
Hi Catalin, Joey, and all .
I am going to put the etckeeper into the official repository
of openSUSE .
http://lists.opensuse.org/opensuse-factory/2014-06/msg00072.html
https://build.opensuse.org/package/users/utilities/etckeeper
I have noticed that the zypper-etckeeper.py is not operating
on openSUSE 12.3 and 13.1 .
At first,
I have noticed that there is not executable in zypper-etckeeper.py .
Then, I corrected Makefile .
--------
diff --git a/Makefile b/Makefile
index 13ce4fe..cf034a2 100644
--- a/Makefile
+++ b/Makefile
@@ -45,7 +45,7 @@ ifeq ($(HIGHLEVEL_PACKAGE_MANAGER),yum)
endif
ifeq ($(HIGHLEVEL_PACKAGE_MANAGER),zypper)
mkdir -p $(DESTDIR)$(prefix)/lib/zypp/plugins/commit
- $(INSTALL_DATA) zypper-etckeeper.py
$(DESTDIR)$(prefix)/lib/zypp/plugins/commit/zypper-etckeeper.py
+ $(INSTALL) zypper-etckeeper.py
$(DESTDIR)$(prefix)/lib/zypp/plugins/commit/zypper-etckeeper.py
endif
-./etckeeper-bzr/__init__.py install --root=$(DESTDIR)
${PYTHON_INSTALL_OPTS} || echo "** bzr support not installed"
echo "** installation successful"
--------
I performed "sudo zypper in -C zypp-plugin-python" .
But it does not operate yet .
I read http://doc.opensuse.org/projects/libzypp/HEAD/zypp-plugins.html .
But I did not find a cause .
Do you know some about the cause of not operating ?
2014-06-16 6:44 GMT+09:00 1xx
2014-06-16 5:42 GMT+09:00 Dmitriy Perlow
: 1xx
Sun, 15 Jun 2014 17:43:35 +0300: 2014-06-15 22:09 GMT+09:00 Greg Freemyer
: On June 15, 2014 12:41:23 AM EDT, 1xx
wrote: I want the "etckeeper" to go into official repository .
The etckeeper is already contained in the utility repository. http://software.opensuse.org/package/etckeeper
https://build.opensuse.org/package/show?project=utilities&package=etckeeper Don't you move it to official repository ?
The most likely person is you. Are you ready to scratch your own itch?
I would like to cooperate as much as possible . What should I do first ?
First of all register at https://build.opensuse.org if you are not a registered at openSUSE forums or somewhere else. Than open the package page https://build.opensuse.org/package/show/utilities/etckeeper and request at least a bugowner role for yourself and finally press submit package button and set openSUSE:Factory as a target project. A submit request can be declined for some reason if you can't resolve it please write to opensuse-packaging mailing list for a help.
I have arleady https://build.opensuse.org/user/show/Mitsutoshi . I requested the role . https://build.opensuse.org/request/show/237440
I submitted it to openSUSE:Factory . https://build.opensuse.org/request/show/237442 But the request was declined by factory-auto . Because failed to download "http://ftp.debian.org/debian/pool/main/e/etckeeper/etckeeper_1.7.tar.gz" Source URLs are not valid.
Surely "http://ftp.debian.org/debian/pool/main/e/etckeeper/etckeeper_1.7.tar.gz" does not exist . And etckeeper.spec 's "Copyright" is wrong .
And as it happens, etckeeper 1.12 released 2 days ago . http://joeyh.name/code/etckeeper/
I will branch utilities/etckeeper to my home, And I willl update etckeeper to 1.12 .
--
1xx
Hi Catalin, Joey, and all .
I tried LANG=C
--------
mitsutoshi@linux-3br4:/etc> echo $LANG
ja_JP.UTF-8
mitsutoshi@linux-3br4:/etc>sudo sh -c "echo dummy 3>dummy"
mitsutoshi@linux-3br4:/etc>LANG=C sudo zypper rm hello
--------
It operated normally this time !!!!!!!!
--------
mitsutoshi@linux-3br4:/etc> sudo git log | head
commit 7f56122be3141be44cc39b718c291b29008699b3
Author: Mitsu
Hi Catalin, Joey, and all .
I am going to put the etckeeper into the official repository of openSUSE .
http://lists.opensuse.org/opensuse-factory/2014-06/msg00072.html https://build.opensuse.org/package/users/utilities/etckeeper
I have noticed that the zypper-etckeeper.py is not operating on openSUSE 12.3 and 13.1 . At first, I have noticed that there is not executable in zypper-etckeeper.py . Then, I corrected Makefile .
-------- diff --git a/Makefile b/Makefile index 13ce4fe..cf034a2 100644 --- a/Makefile +++ b/Makefile @@ -45,7 +45,7 @@ ifeq ($(HIGHLEVEL_PACKAGE_MANAGER),yum) endif ifeq ($(HIGHLEVEL_PACKAGE_MANAGER),zypper) mkdir -p $(DESTDIR)$(prefix)/lib/zypp/plugins/commit - $(INSTALL_DATA) zypper-etckeeper.py $(DESTDIR)$(prefix)/lib/zypp/plugins/commit/zypper-etckeeper.py + $(INSTALL) zypper-etckeeper.py $(DESTDIR)$(prefix)/lib/zypp/plugins/commit/zypper-etckeeper.py endif -./etckeeper-bzr/__init__.py install --root=$(DESTDIR) ${PYTHON_INSTALL_OPTS} || echo "** bzr support not installed" echo "** installation successful" --------
I performed "sudo zypper in -C zypp-plugin-python" .
But it does not operate yet .
I read http://doc.opensuse.org/projects/libzypp/HEAD/zypp-plugins.html .
But I did not find a cause .
Do you know some about the cause of not operating ?
2014-06-16 6:44 GMT+09:00 1xx
: 2014-06-16 5:42 GMT+09:00 Dmitriy Perlow
: 1xx
Sun, 15 Jun 2014 17:43:35 +0300: 2014-06-15 22:09 GMT+09:00 Greg Freemyer
: On June 15, 2014 12:41:23 AM EDT, 1xx
wrote: I want the "etckeeper" to go into official repository .
The etckeeper is already contained in the utility repository. http://software.opensuse.org/package/etckeeper
https://build.opensuse.org/package/show?project=utilities&package=etckeeper Don't you move it to official repository ?
The most likely person is you. Are you ready to scratch your own itch?
I would like to cooperate as much as possible . What should I do first ?
First of all register at https://build.opensuse.org if you are not a registered at openSUSE forums or somewhere else. Than open the package page https://build.opensuse.org/package/show/utilities/etckeeper and request at least a bugowner role for yourself and finally press submit package button and set openSUSE:Factory as a target project. A submit request can be declined for some reason if you can't resolve it please write to opensuse-packaging mailing list for a help.
I have arleady https://build.opensuse.org/user/show/Mitsutoshi . I requested the role . https://build.opensuse.org/request/show/237440
I submitted it to openSUSE:Factory . https://build.opensuse.org/request/show/237442 But the request was declined by factory-auto . Because failed to download "http://ftp.debian.org/debian/pool/main/e/etckeeper/etckeeper_1.7.tar.gz" Source URLs are not valid.
Surely "http://ftp.debian.org/debian/pool/main/e/etckeeper/etckeeper_1.7.tar.gz" does not exist . And etckeeper.spec 's "Copyright" is wrong .
And as it happens, etckeeper 1.12 released 2 days ago . http://joeyh.name/code/etckeeper/
I will branch utilities/etckeeper to my home, And I willl update etckeeper to 1.12 .
--
1xx
Hi all.
2014-06-18 14:17 GMT+09:00 1xx
I tried LANG=C
-------- mitsutoshi@linux-3br4:/etc> echo $LANG ja_JP.UTF-8 mitsutoshi@linux-3br4:/etc>sudo sh -c "echo dummy 3>dummy" mitsutoshi@linux-3br4:/etc>LANG=C sudo zypper rm hello --------
It operated normally this time !!!!!!!!
Probably, I think that processing of Locale of ZYpp is likely to have a problem .
The problem of locale was solved by applying patch. https://build.opensuse.org/package/view_file/home:Mitsutoshi:branches:utilit... https://build.opensuse.org/package/show/home:Mitsutoshi:branches:utilities/e... I am testing etckeeper 1.12 now, it seems to work normally. Are there those who want to test new etckeeper? It can download from the following. http://software.opensuse.org/download.html?project=home%3AMitsutoshi%3Abranches%3Autilities&package=etckeeper I noticed the following problem. The etckeeper uses git by default. 。 Although the git is not supporting hardlink, there are hardlinked files in /etc of openSUSE. For this reason, etckeeper (both 1.7 and 1.12) display warning.
sudo etckeeper commit root's password: etckeeper warning: hardlinked files could cause problems with git: PackageKit/events/pre-transaction.d/README PackageKit/events/post-transaction.d/README bootsplash/themes/openSUSE/cdrom/ro.tr bootsplash/themes/openSUSE/cdrom/ca.tr bootsplash/themes/openSUSE/cdrom/fi.tr bootsplash/themes/openSUSE/cdrom/mr.tr bootsplash/themes/openSUSE/cdrom/de.tr bootsplash/themes/openSUSE/cdrom/ta.tr bootsplash/themes/openSUSE/cdrom/ru.tr (snip)
Fedora 20, Debian 7.5 and Ubuntu 14.04 do not have hardlinked files in /etc. It seems to be a known issue in CentOS+EPEL. https://bugzilla.redhat.com/show_bug.cgi?id=684548 I think that it is not a big issue. If it has no problem in another, I will submitrequest it to utilities in 2014-06-22 +0900.
And I willl update etckeeper to 1.12 .
--
1xx
2014-06-20 11:22 GMT+09:00 1xx
The problem of locale was solved by applying patch. https://build.opensuse.org/package/view_file/home:Mitsutoshi:branches:utilit... https://build.opensuse.org/package/show/home:Mitsutoshi:branches:utilities/e...
I am testing etckeeper 1.12 now, it seems to work normally.
Are there those who want to test new etckeeper? It can download from the following. http://software.opensuse.org/download.html?project=home%3AMitsutoshi%3Abranches%3Autilities&package=etckeeper
I will submitrequest it to utilities in 2014-06-22 +0900.
I submitrequested it.
https://build.opensuse.org/request/show/238255
--
1xx
2014-06-22 8:18 GMT+09:00 1xx
2014-06-20 11:22 GMT+09:00 1xx
: The problem of locale was solved by applying patch. https://build.opensuse.org/package/view_file/home:Mitsutoshi:branches:utilit... https://build.opensuse.org/package/show/home:Mitsutoshi:branches:utilities/e...
I am testing etckeeper 1.12 now, it seems to work normally.
Are there those who want to test new etckeeper? It can download from the following. http://software.opensuse.org/download.html?project=home%3AMitsutoshi%3Abranches%3Autilities&package=etckeeper
I will submitrequest it to utilities in 2014-06-22 +0900.
I submitrequested it. https://build.opensuse.org/request/show/238255
Please review it and accept or decline it.
I wrote a bug report .
https://bugzilla.novell.com/show_bug.cgi?id=884154
--
1xx
participants (1)
-
1xx