Commit Graph

103 Commits

Author SHA1 Message Date
Juan RP 414bbfa879 TODO: sync with reality.
--HG--
extra : convert_revision : fc00ba48e9d959080210a1597438f82e60f25196
2009-08-09 04:20:03 +02:00
Juan RP 17404bdb42 Mega-commit with improvements and changes done in the past days.
- Introduce package states: unpacked, broken, installed, etc.
  Not yet finished, only unpacked and installed are used for now.

- Move package metadata files in binary packages directly to
  the top directory, this speeds up some ops and makes easier to
  continue working in future changes.

- xbps-bin: -C flag to check the hash of package files has been
  superseded by the 'check' target, which verifies the integrity
  of an installed package.

- Use the 'essential' object when upgrading packages, overwritting
  current files. This is needed for critical packages like sh, libc
  and others.

- Miscellaneous tweaks and improvements thorough the code.

--HG--
extra : convert_revision : 2073fcc123efc24b3e9327b5e22aa91752f20df6
2009-08-08 22:29:48 +02:00
Juan RP d8353810b6 Reorganize pkg metadata files.plist scheme to improve future changes.
This fixes an item from the TODO about 'xbps-bin -C files' not checking
configuration files.

--HG--
extra : convert_revision : bb661554a6b34a25066749844709b8cbaf5a4d6c
2009-08-01 11:23:41 +02:00
Juan RP dd6b45c322 Set sourcepkg to pkgname through run_template().
This removes the need for having to specify sourcepkg manually in
every package that will build subpkgs.

--HG--
extra : convert_revision : 383e4c467e84844d2f4f61ae5c5e07a5124e9cfb
2009-07-29 22:44:30 +02:00
Juan RP ed41a153f5 TODO: some items were fixed.
--HG--
extra : convert_revision : 639cd22889eaae83b1736afadfa2c7743fa508e7
2009-06-07 08:14:48 +02:00
Juan RP 38e6679ff5 Implemented plist caching, that gives >30% performance.
--HG--
extra : convert_revision : 6302893f967be96f99a86d499ca62a8c005e56f7
2009-05-19 01:42:48 +02:00
Juan RP 4f0482c6ac TODO: more items that will be implemented soon.
--HG--
extra : convert_revision : d385dab0f315972a1ac16ba33362fa790ab13192
2009-05-17 05:24:32 +02:00
Juan RP ad6914ceff TODO: add another item, sync with recent changes.
--HG--
extra : convert_revision : 16671e7267699a6e18de10b873a35d2dc765620b
2009-05-17 04:23:19 +02:00
Juan RP 951a775432 TODO: two new xbps-bin issues.
--HG--
extra : convert_revision : 78282cbd5c72bf950a848799d7d0d5c1cd655cbf
2009-05-16 04:13:14 +02:00
Juan RP f52c0613a8 TODO: document a problem with loadkeys(1).
--HG--
extra : convert_revision : af153c5066026f60a859490cbb09dfebad5e2940
2009-05-08 17:50:12 +00:00
Juan RP 4e5aacb111 TODO: document a problem building acl.
--HG--
extra : convert_revision : ad529858f273d37ae65bc13aa00f0d61fac8b554
2009-05-06 01:31:14 +02:00
Juan RP 2a9c634fde doc: update requirements.
--HG--
extra : convert_revision : abd63ae0f61a98ed6e05a3a8ac90713bb42d0da9
2009-04-29 16:02:17 +02:00
Juan RP 78de666e31 doc/README: m4 is not needed anymore.
--HG--
extra : convert_revision : 1ab6ca8e8815edf9b3153119c2629011cff5821e
2009-04-24 17:40:38 +02:00
Juan RP fa28f6beef doc: remove some unneeded pkgs which are now built in xbps-base-chroot.
--HG--
extra : convert_revision : 652340868e198ad39f113236501e171996a5b962
2009-04-24 17:28:51 +02:00
Juan RP 127c39387c TODO: add item about HAL/PolicyKit.
--HG--
extra : convert_revision : bb33247f3d558f0618800793c23ad9ccf3fc11bb
2009-04-21 18:33:01 +02:00
Juan RP 9167e243ca TODO: another update.
--HG--
extra : convert_revision : 7ac055c4e891fdab8fdc3a9418fb953cbf4a1957
2009-04-18 19:39:44 +02:00
Juan RP 0904702b0b TODO: add new items related to initramfs-tools.
--HG--
extra : convert_revision : 0d422ab02e1109b63f3a8cd5f99ddf46a9acf912
2009-04-18 17:35:49 +02:00
Juan RP f80e1753a8 Remove knowledge from the library to install packages.
The library is only responsible now to find all binary packages
from repositories, sort them and create a dictionary with all
details. The frontend (xbps-bin) provides support for this,
and this allows for more flexibility and removes some stuff
that didn't belong in the library.

While here implemented support to show total download/installed
size for all packages that are going to be installed.

Next step will be to implement user interactivity before
installing/removing/updating packages.

--HG--
extra : convert_revision : 858e9a89bc6a60b348435f2416a8af3ebb6ea5c9
2009-04-09 02:29:15 +02:00
Juan RP 3fca3406eb TODO: xbps-bin: implement shell style match patterns with fnmatch.
--HG--
extra : convert_revision : 39d27e30f4af3bb93c63c3eb0091040321bb8527
2009-04-05 15:19:15 +02:00
Juan RP a6657b74ca TODO: another item for 'xbps-bin -C files pkg'.
--HG--
extra : convert_revision : 6f6074c915e9d6a54e904b8d7542837d39c79be2
2009-04-03 19:48:50 +02:00
Juan RP b329b3be39 xbps-bin: fix "-C files" as mentioned in TODO.
--HG--
extra : convert_revision : 21dc44831330411f079044c47b5bc6f53c599126
2009-04-03 17:15:38 +02:00
Juan RP 5abc453952 TODO: some more new items.
--HG--
extra : convert_revision : c1bb9a091c80d0a84ca229d21cdf085eb5f94219
2009-04-03 17:09:08 +02:00
Juan RP b75a66a26a BINPKG_INFO: sync with reality.
--HG--
extra : convert_revision : 2cdbac32858408695a6bb40539fc5a01a6ca4f17
2009-04-03 17:02:38 +02:00
Juan RP 0a1c94ad11 TODO: remove xbps-src item that won't be implemented.
--HG--
extra : convert_revision : 3d8f47398b3f84477fe722dd0d0020e4e440338f
2009-04-03 16:57:43 +02:00
Juan RP 8a5d47430e Long life to the xbps-repo genindex C implementation!
--HG--
extra : convert_revision : af0ca601ae79ba1b38fbf0815e6365f558ca22d8
2009-04-03 16:03:31 +02:00
Juan RP 03bc2cad21 TODO: remove items that have been fixed related to repo index.
--HG--
extra : convert_revision : 2b06e9083e0c8b7b0fc63cd6d259eb43f53f13ea
2009-04-03 15:47:21 +02:00
Juan RP cb21ca090c TODO: working in xbps-repo genindex C code now.
--HG--
extra : convert_revision : b6f91d3c96cc54f502b790b3a9086981aab3f6c7
2009-04-02 18:00:45 +02:00
Juan RP 7e691eaf65 TODO: single pkg upgrades are working, add item for "apt-get dist-upgrade" clone.
--HG--
extra : convert_revision : 54c892fb30a1a606385b29e2b450c6fef3bcd334
2009-04-02 03:13:40 +02:00
Juan RP 7db36bf9e0 TODO: user files in /etc/skel are there now.
--HG--
extra : convert_revision : 7ab7361422b7d9d53756f0681224d369ac906f59
2009-04-02 02:46:06 +02:00
Juan RP 8bb195410d TODO: $revision has been added, remove item.
--HG--
extra : convert_revision : 877aa8af58095c70c5872bdd9035de9214ffd9ba
2009-03-27 16:41:56 +01:00
Juan RP c661af8233 TODO: more stuff.
--HG--
extra : convert_revision : 32420a6f071350ebd71b596f50719ac6c242bf77
2009-03-22 05:06:44 +01:00
Juan RP e1425ea26c TODO: a trigger to (un)register users/groups is needed.
--HG--
extra : convert_revision : 834616556c7fc6121f9e0f2cd2b9db6e990ee144
2009-03-19 06:56:20 +01:00
Juan RP cb3df7a9ba TODO: fc-cache trigger is missing.
--HG--
extra : convert_revision : 45cbd9c108afe43e23a5d4cf54b8ea24514969cb
2009-03-19 03:22:24 +01:00
Juan RP 0ed055c4eb Don't continue installing a binpkg if newest version in repos is already installed.
--HG--
extra : convert_revision : b73376d091fd95f4cfd92cbdba21f4bc93781504
2009-03-17 05:10:21 +01:00
Juan RP bc1e2c8dcd TODO: I'm working in package upgrades now.
--HG--
extra : convert_revision : 01360954acd2aa4e0ff7c56e1d5b116eebf1a3e1
2009-03-16 07:08:13 +01:00
Juan RP 96c57cfb43 TODO: add another item.
--HG--
extra : convert_revision : fbf112f5e9e4a90ce3370d43414792a2dbc1b7c5
2009-03-16 07:05:10 +01:00
Juan RP f0887665fe Added two features missed in previous.
--HG--
extra : convert_revision : 245256117c7607d0020b81bf0f8e689467afc3f2
2009-03-14 07:46:08 +01:00
Juan RP 7c0071facc doc/FEATURES: mention some implemented features.
--HG--
extra : convert_revision : d4e86d69f11b2d1bcf12dc72f0e81dfafa3f0e1d
2009-03-14 07:41:58 +01:00
Juan RP 855ec90fdf Add $register_shell var, to (un)register shells at post-{inst,rm} for binpkgs.
Multiple shells can be (un)registered by a single package, like:

register_shell="/bin/zsh-foo /bin/zsh-blah"

--HG--
extra : convert_revision : 0172a74b41e26089da97fcdc8cc2d5cb6ae147f2
2009-03-14 07:32:48 +01:00
Juan RP 5d8328894d TODO: add some items required to make the system functional.
--HG--
extra : convert_revision : 38807c2fb729923194c903bf43be5a7b586c6436
2009-03-13 18:54:30 +01:00
Juan RP 53747489f0 Implemented support for running triggers with binpkgs.
Also the following changes were made:
 * Added an info-files trigger, to (un)register info files.
 * xbps-base-dirs: it's responsible to install triggers on destdir.

--HG--
extra : convert_revision : 8d707053616f38d2b5beef7cf28e1bc4a66812b8
2009-03-12 11:16:08 +01:00
Juan RP 37c27f7307 TODO: mark an item as stopped... not sure it will be implemented.
--HG--
extra : convert_revision : 2208040f9ee9cb2b21f73b45f75eccd7c34f2a83
2009-03-12 10:53:16 +01:00
Juan RP 348485f208 Added a FEATURES file mentioning stuff that's currently implemented.
--HG--
extra : convert_revision : af0535158c17afbefeabb748e8e3c16c7c8f5442
2009-03-12 10:37:15 +01:00
Juan RP 95b01cfd63 TODO: mark two items IN PROGRESS.
--HG--
extra : convert_revision : a9c2605eda8a80bb2bd437cdf8fdb117497fef61
2009-03-11 23:29:56 +01:00
Juan RP cffbaad064 TODO: initscripts are provided, even by reusing NetBSD's rc.d.
--HG--
extra : convert_revision : e1f7b42a90ebbe7d4ab12856dc34cef1a3edc25f
2009-03-06 08:25:41 +01:00
Juan RP 37e4be86f9 Added support to check the SHA256 hash for any binpkg before installation happens.
--HG--
extra : convert_revision : 4f812eb0cfb614461527e360db1692bd5f9c34aa
2009-03-02 23:38:24 +01:00
Juan RP 0d8f08e8ea Added support to list and remove orphaned packages.
A new target has been added to xbps-bin: autoremove. It works in
the same way than 'apt-get', but there's no stdin input. By default
it will list you all orphaned packages, and -f flag must be set
to really remove them.

The following is a real example for the git package, which requires
directly perl and curl-libs, and indirectly libidn and openssl.

$ xbps-bin -r ~/testing-xbps remove git
Removing package git-1.6.1.3 ... done.
$

$ xbps-bin -r ~/testing-xbps autoremove
The following packages were installed automatically
(as dependencies) and aren't needed anymore:

	perl-5.10.0 curl-libs-7.19.0 libidn-1.10 openssl-0.9.8j

If you are really sure you don't need them, use -f to confirm.
$

--HG--
extra : convert_revision : 70eebaa3d99be27753b94f580c8ec86330c7c2d3
2009-03-02 02:26:20 +01:00
Juan RP f1f34487e2 xbps-bin: added -f flag for remove target.
Now if any package is going to be removed and it's required by
other packages, it won't let you remove it unless -f is set.

Here's an example of how it looks like:

[juan@fedora-vm xbps]$ xbps-bin -r ~/testing-xbps remove glibc
WARNING! glibc is required by the following packages:

	zlib-1.2.3 ncurses-libs-5.7 gcc-libstdc++-4.3.2 e2fsprogs-libs-1.41.4
	cracklib-2.8.13 expat-2.0.1 ncurses-5.7 cpio-2.9
	module-init-tools-3.6 busybox-initramfs-1.13.2 udev-138 procps-3.2.7
	pam-1.0.2 dbus-libs-1.2.12 lzma-utils-libs-4.32.7 coreutils-7.1
	sed-4.1.5 grep-2.5.4 gawk-3.1.6 gzip-1.3.12
	bzip2-1.0.5 bash-4.0 less-424 gdbm-1.8.3
	groff-1.20.1 lzma-utils-4.32.7 dbus-1.2.12 proplib-0.3
	dash-0.5.4 findutils-4.4.0 util-linux-ng-2.14.2 initramfs-tools-0.92o
	file-5.00 diffutils-2.8.1 wget-1.11.4 man-db-2.5.3
	sysklogd-1.5 eject-2.1.5 shadow-4.1.2.2 sudo-1.7.0
	e2fsprogs-1.41.4 tzdata-2009a vim-7.2 upstart-0.5.1
	kernel-2.6.28.1 xbps-base-pkg-0.1 kbd-1.14.1

If you are sure about this, use -f to force deletion for this package.
[juan@fedora-vm xbps]$

--HG--
extra : convert_revision : eeb92925e51f11d5b3bf7e069ed4986ae5fb0c2d
2009-03-01 01:34:15 +01:00
Juan RP b4806141f7 TODO: another item.
--HG--
extra : convert_revision : c24c1f09857cb4f4c33716e66e1702bf2935cdd3
2009-03-01 00:37:28 +01:00
Juan RP 7acc216a1c TODO: add some more items.
--HG--
extra : convert_revision : 03f9b2d2878248fdad68a7c2b3696e7361b9fbec
2009-03-01 00:34:00 +01:00