Re: [Rpm-maint] [rpm-software-management/rpm] Install rpm-python from PyPI (#273)
Let me announce. I developed a installer to install `rpm-python` or `rpm` (same version with system RPM) on non-system Python. People can install `rpm-python` by installing `rpm-py-installer` from PyPI. https://pypi.python.org/pypi/rpm-py-installer https://github.com/junaruga/rpm-py-installer ``` $ pip install rpm-py-installer ``` Or add `rpm-py-installer` to `setup.py` `install_requires`. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/273#issuecomment-328100601___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
Re: [Rpm-maint] [rpm-software-management/rpm] WIP/RFE: Hint to users to use ostree/rpm-ostree if we get EROFS (#320)
BTW, down the line I'd like to extend this ostree-detection functionality a bit more so that e.g. `rpm -V` understands that timestamps are different, and that's OK. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/320#issuecomment-328109875___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
Re: [Rpm-maint] [rpm-software-management/rpm] lib/transaction: Don't SEGV in sync if a txn was failed (#319)
Right, it shouldn't crash. But disabled disk-space checking silently disabling sync is wrong too. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/319#issuecomment-328060578___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
Re: [Rpm-maint] [rpm-software-management/rpm] Revert "Sync disks at the end of transactions (RhBug:1461765)" (#318)
In active use? I don't think there's that many. Certainly the original bug report was from someone using dnf. I just don't understand the logic for pushing this directly into librpm without even making it configurable after all of the feedback from people using librpm for higher level tools on the original commit. The simplest would seem to be making `rpmtsSync()` public API. Then higher level tools could call it as desired. Having direct `rpm -i` calls invoke it and whether or not to do it by default seems like something that could be addressed later. And to repeat, I definitely don't want this for rpm-ostree; we already have our own `syncfs()` calls and there we actually check the return codes for example; and make it so that if anything failed, the system is left unchanged. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/318#issuecomment-328069038___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
Re: [Rpm-maint] [rpm-software-management/rpm] Revert "Sync disks at the end of transactions (RhBug:1461765)" (#318)
Eh, that's just so backwards. Dnf hasn't got the damnest to do with this, it's nothing but one of the umptheen different depsolvers built on top of rpm. Which is exactly why this belongs to rpm which is common to them all. Including rpm itself. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/318#issuecomment-328030209___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
[Rpm-maint] [rpm-software-management/rpm] find-debuginfo.sh: cpio looking into wrong path (#322)
Don't know what is wrong, these messages appear when package is being created at debuginfo part. ``` cpio: timeshift-17.2/src/AboutWindow.c: Cannot stat: No such file or directory cpio: timeshift-17.2/src/AppConsole.c: Cannot stat: No such file or directory cpio: timeshift-17.2/src/AppExcludeEntry.c: Cannot stat: No such file or directory cpio: timeshift-17.2/src/AppGtk.c: Cannot stat: No such file or directory cpio: timeshift-17.2/src/AppLock.c: Cannot stat: No such file or directory cpio: timeshift-17.2/src/ArchiveFile.c: Cannot stat: No such file or directory cpio: timeshift-17.2/src/AsyncTask.c: Cannot stat: No such file or directory cpio: timeshift-17.2/src/BackupBox.c: Cannot stat: No such file or directory cpio: timeshift-17.2/src/BackupDeviceBox.c: Cannot stat: No such file or directory cpio: timeshift-17.2/src/BackupFinishBox.c: Cannot stat: No such file or directory cpio: timeshift-17.2/src/BackupWindow.c: Cannot stat: No such file or directory cpio: timeshift-17.2/src/Bash.c: Cannot stat: No such file or directory cpio: timeshift-17.2/src/BootOptionsBox.c: Cannot stat: No such file or directory cpio: timeshift-17.2/src/BootOptionsWindow.c: Cannot stat: No such file or directory cpio: timeshift-17.2/src/CronTab.c: Cannot stat: No such file or directory cpio: timeshift-17.2/src/CryptTabEntry.c: Cannot stat: No such file or directory cpio: timeshift-17.2/src/CustomMessageDialog.c: Cannot stat: No such file or directory cpio: timeshift-17.2/src/DeleteBox.c: Cannot stat: No such file or directory cpio: timeshift-17.2/src/DeleteFileTask.c: Cannot stat: No such file or directory cpio: timeshift-17.2/src/DeleteFinishBox.c: Cannot stat: No such file or directory cpio: timeshift-17.2/src/DeleteWindow.c: Cannot stat: No such file or directory cpio: timeshift-17.2/src/Device.c: Cannot stat: No such file or directory cpio: timeshift-17.2/src/DonationWindow.c: Cannot stat: No such file or directory cpio: timeshift-17.2/src/EstimateBox.c: Cannot stat: No such file or directory cpio: timeshift-17.2/src/ExcludeAppsBox.c: Cannot stat: No such file or directory cpio: timeshift-17.2/src/ExcludeBox.c: Cannot stat: No such file or directory cpio: timeshift-17.2/src/ExcludeListSummaryWindow.c: Cannot stat: No such file or directory cpio: timeshift-17.2/src/ExcludeMessageWindow.c: Cannot stat: No such file or directory cpio: timeshift-17.2/src/FileItem.c: Cannot stat: No such file or directory cpio: timeshift-17.2/src/FinishBox.c: Cannot stat: No such file or directory cpio: timeshift-17.2/src/FsTabEntry.c: Cannot stat: No such file or directory cpio: timeshift-17.2/src/GtkHelper.c: Cannot stat: No such file or directory cpio: timeshift-17.2/src/IncludeBox.c: Cannot stat: No such file or directory cpio: timeshift-17.2/src/LinuxDistro.c: Cannot stat: No such file or directory cpio: timeshift-17.2/src/Main.c: Cannot stat: No such file or directory cpio: timeshift-17.2/src/MainWindow.c: Cannot stat: No such file or directory cpio: timeshift-17.2/src/MountEntry.c: Cannot stat: No such file or directory cpio: timeshift-17.2/src/OSDNotify.c: Cannot stat: No such file or directory cpio: timeshift-17.2/src/ProcStats.c: Cannot stat: No such file or directory cpio: timeshift-17.2/src/RestoreBox.c: Cannot stat: No such file or directory cpio: timeshift-17.2/src/RestoreDeviceBox.c: Cannot stat: No such file or directory cpio: timeshift-17.2/src/RestoreExcludeBox.c: Cannot stat: No such file or directory cpio: timeshift-17.2/src/RestoreFinishBox.c: Cannot stat: No such file or directory cpio: timeshift-17.2/src/RestoreSummaryBox.c: Cannot stat: No such file or directory cpio: timeshift-17.2/src/RestoreWindow.c: Cannot stat: No such file or directory cpio: timeshift-17.2/src/RsyncLogWindow.c: Cannot stat: No such file or directory cpio: timeshift-17.2/src/RsyncTask.c: Cannot stat: No such file or directory cpio: timeshift-17.2/src/ScheduleBox.c: Cannot stat: No such file or directory cpio: timeshift-17.2/src/SettingsWindow.c: Cannot stat: No such file or directory cpio: timeshift-17.2/src/SetupWizardWindow.c: Cannot stat: No such file or directory cpio: timeshift-17.2/src/Snapshot.c: Cannot stat: No such file or directory cpio: timeshift-17.2/src/SnapshotBackendBox.c: Cannot stat: No such file or directory cpio: timeshift-17.2/src/SnapshotListBox.c: Cannot stat: No such file or directory cpio: timeshift-17.2/src/SnapshotRepo.c: Cannot stat: No such file or directory cpio: timeshift-17.2/src/Subvolume.c: Cannot stat: No such file or directory cpio: timeshift-17.2/src/TeeJee.FileSystem.c: Cannot stat: No such file or directory cpio: timeshift-17.2/src/TeeJee.Json.c: Cannot stat: No such file or directory cpio: timeshift-17.2/src/TeeJee.Logging.c: Cannot stat: No such file or directory cpio: timeshift-17.2/src/TeeJee.Misc.c: Cannot stat: No such file or directory cpio: timeshift-17.2/src/TeeJee.Process.c: Cannot stat: No such file or directory cpio: timeshift-17.2/src/TeeJee.System.c: Cannot stat: No such file
Re: [Rpm-maint] [rpm-software-management/rpm] Use setuptools to prevent deprecation message when uninstalling. (#323)
Sorry this modification becomes error on Python 2.7. ``` (venv2) $ pip list PackageVersion -- --- pip9.0.1 rpm4.14.90 setuptools 36.4.0 wheel 0.29.0 (venv2) $ pip uninstall rpm Uninstalling rpm-4.14.90: /home/jaruga/git/rpm/python/venv2/lib/python2.7/site-packages/rpm-4.14.90-py2.7-linux-x86_64.egg Proceed (y/n)? y Successfully uninstalled rpm-4.14.90 Traceback (most recent call last): File "/home/jaruga/git/rpm/python/venv2/bin/pip", line 11, in sys.exit(main()) File "/home/jaruga/git/rpm/python/venv2/lib/python2.7/site-packages/pip/__init__.py", line 233, in main return command.main(cmd_args) File "/home/jaruga/git/rpm/python/venv2/lib/python2.7/site-packages/pip/basecommand.py", line 252, in main pip_version_check(session) File "/home/jaruga/git/rpm/python/venv2/lib/python2.7/site-packages/pip/utils/outdated.py", line 102, in pip_version_check installed_version = get_installed_version("pip") File "/home/jaruga/git/rpm/python/venv2/lib/python2.7/site-packages/pip/utils/__init__.py", line 838, in get_installed_version working_set = pkg_resources.WorkingSet() File "/home/jaruga/git/rpm/python/venv2/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 644, in __init__ self.add_entry(entry) File "/home/jaruga/git/rpm/python/venv2/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 700, in add_entry for dist in find_distributions(entry, True): File "/home/jaruga/git/rpm/python/venv2/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 1949, in find_eggs_in_zip if metadata.has_metadata('PKG-INFO'): File "/home/jaruga/git/rpm/python/venv2/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 1463, in has_metadata return self.egg_info and self._has(self._fn(self.egg_info, name)) File "/home/jaruga/git/rpm/python/venv2/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 1823, in _has return zip_path in self.zipinfo or zip_path in self._index() File "/home/jaruga/git/rpm/python/venv2/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 1703, in zipinfo return self._zip_manifests.load(self.loader.archive) File "/home/jaruga/git/rpm/python/venv2/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.py", line 1643, in load mtime = os.stat(path).st_mtime OSError: [Errno 2] No such file or directory: '/home/jaruga/git/rpm/python/venv2/lib/python2.7/site-packages/rpm-4.14.90-py2.7-linux-x86_64.egg' ``` -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/323#issuecomment-328153901___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
Re: [Rpm-maint] [rpm-software-management/rpm] Use setuptools to prevent deprecation message when uninstalling. (#323)
OK. That makes sense. Feel free to close this ticket. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/323#issuecomment-328188537___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
Re: [Rpm-maint] [rpm-software-management/rpm] find-debuginfo.sh: cpio looking into wrong path (#322)
Copr build are here: https://copr.fedorainfracloud.org/coprs/srakitnican/default/build/600055/ It seems to add all files and that is what it's important, still curious to where does this coming from, though... -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/322#issuecomment-328171006___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
Re: [Rpm-maint] [rpm-software-management/rpm] Use setuptools to prevent deprecation message when uninstalling. (#323)
setuptools is not in python stdlib, so I don't see point us doing this honestly.. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/323#issuecomment-328184564___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint