portage.git
13 years agodigestcheck: remove empty/missing Manifest checks
Zac Medico [Thu, 15 Sep 2011 02:44:28 +0000 (19:44 -0700)]
digestcheck: remove empty/missing Manifest checks

These checks never really needed, and they are not valid for thin
manifests or allow-missing-manifests.

13 years agoRemove Manifest if it is not needed.
Zac Medico [Thu, 15 Sep 2011 02:36:54 +0000 (19:36 -0700)]
Remove Manifest if it is not needed.

With thin manifest, there's no need to have a Manifest file if there
are no DIST entries.

13 years agoDon't write empty (thin) Manifest files.
Zac Medico [Thu, 15 Sep 2011 02:21:45 +0000 (19:21 -0700)]
Don't write empty (thin) Manifest files.

With thin manifest, there's no need to have a Manifest file if there
are no DIST entries.

13 years agoFix typos in comments.
Arfrever Frehtes Taifersar Arahesis [Wed, 14 Sep 2011 20:45:23 +0000 (22:45 +0200)]
Fix typos in comments.

13 years agoFix grammar in some messages.
Arfrever Frehtes Taifersar Arahesis [Wed, 14 Sep 2011 20:39:06 +0000 (22:39 +0200)]
Fix grammar in some messages.

13 years agorepoman: use repodir more
Zac Medico [Wed, 14 Sep 2011 20:23:34 +0000 (13:23 -0700)]
repoman: use repodir more

13 years agorepoman: test symlinked repo path v2.2.0_alpha57
Zac Medico [Wed, 14 Sep 2011 18:40:06 +0000 (11:40 -0700)]
repoman: test symlinked repo path

13 years agorepoman: use the repodir variable more
Zac Medico [Wed, 14 Sep 2011 18:34:19 +0000 (11:34 -0700)]
repoman: use the repodir variable more

13 years agodigestgen: remove duplicate 'mytree' variables
Zac Medico [Wed, 14 Sep 2011 17:08:52 +0000 (10:08 -0700)]
digestgen: remove duplicate 'mytree' variables

13 years agodigestgen: handle get_repo_for_location KeyError
Zac Medico [Wed, 14 Sep 2011 16:23:18 +0000 (09:23 -0700)]
digestgen: handle get_repo_for_location KeyError

13 years agorepoman: fix KeyError from digestgen with symlink
Zac Medico [Wed, 14 Sep 2011 16:08:19 +0000 (09:08 -0700)]
repoman: fix KeyError from digestgen with symlink

13 years agoDeprecate the manifest1_compat parameter. v2.2.0_alpha56
Zac Medico [Wed, 14 Sep 2011 04:49:23 +0000 (21:49 -0700)]
Deprecate the manifest1_compat parameter.

13 years agomanifest: remove unused 'pf is None' case
Zac Medico [Wed, 14 Sep 2011 02:35:36 +0000 (19:35 -0700)]
manifest: remove unused 'pf is None' case

13 years agoman/portage.5: layout.conf examples manifests
Zac Medico [Tue, 13 Sep 2011 06:06:50 +0000 (23:06 -0700)]
man/portage.5: layout.conf examples manifests

13 years agometadata/layout.conf: "sign-manifests = false"
Zac Medico [Tue, 13 Sep 2011 05:48:36 +0000 (22:48 -0700)]
metadata/layout.conf: "sign-manifests = false"

This allows repos to disable manifest signatures, which is useful if
they want to prevent merge conflicts like those that thin-manifests is
designed to prevent.

13 years agoebuild(1): remove unneeded porttrees modification
Zac Medico [Tue, 13 Sep 2011 05:22:09 +0000 (22:22 -0700)]
ebuild(1): remove unneeded porttrees modification

This code should be unnecessary, as long as the repo is correctly
identified for all calls to portdbapi methods like aux_get and
findname. Notably, config.setcpv() must be called with a Package
instance in order to ensure that it gets the metadata from the correct
repository.

13 years ago_validate_deps: pass myrepo to aux_get
Zac Medico [Tue, 13 Sep 2011 05:01:08 +0000 (22:01 -0700)]
_validate_deps: pass myrepo to aux_get

13 years agoebuild(1): avoid "Location not set for repo" msgs
Zac Medico [Tue, 13 Sep 2011 04:56:48 +0000 (21:56 -0700)]
ebuild(1): avoid "Location not set for repo" msgs

When overriding PORTDIR_OVERLAY, we can avoid "Location not set for
repository" messages if we include the original PORTDIR_OVERLAY paths
in the overridden setting.

13 years agodoebuild: support allow-missing and thin manifest
Zac Medico [Tue, 13 Sep 2011 04:33:01 +0000 (21:33 -0700)]
doebuild: support allow-missing and thin manifest

13 years agorepoman: don't sign thin manifests
Zac Medico [Tue, 13 Sep 2011 03:20:00 +0000 (20:20 -0700)]
repoman: don't sign thin manifests

Thin manifests imply reliance on the VCS for file integrity,
which implies that manifest signatures are not needed.

13 years agoAdd tests for thin manifests
Sebastian Luther [Wed, 7 Sep 2011 06:13:59 +0000 (08:13 +0200)]
Add tests for thin manifests

13 years agoadd layout.conf awareness of thin-manifests
Brian Harring [Thu, 1 Sep 2011 21:50:25 +0000 (14:50 -0700)]
add layout.conf awareness of thin-manifests

For any repo that wants thin (just src_uri digests), they just need to add

thin-manifests = true

to their layout.conf.  Again, this should only be used in repositories
were the backing vcs provides checksums for the ebuild data.

13 years agoadd thin manifest support to the Manifest class
Brian Harring [Thu, 1 Sep 2011 21:36:45 +0000 (14:36 -0700)]
add thin manifest support to the Manifest class

'thin' is just distfiles.  This is primarily useful when the ebuild
lives in a vcs- git for example, which already has it's own checksums
to rely on.

13 years agoBind all manifest access through repoconfigs
Brian Harring [Thu, 1 Sep 2011 00:29:58 +0000 (17:29 -0700)]
Bind all manifest access through repoconfigs

This enables controling the behaviour (creation and validation) per
repo, and while mildly ugly, refactors in the right direction.

13 years agorefactoring; unhide part of the parsing functionality
Brian Harring [Wed, 31 Aug 2011 23:42:34 +0000 (16:42 -0700)]
refactoring; unhide part of the parsing functionality

13 years agoebuild.sh: make use* return false for "depend"
Zac Medico [Mon, 12 Sep 2011 20:37:32 +0000 (13:37 -0700)]
ebuild.sh: make use* return false for "depend"

This ensures that `use multislot` is false for the "depend" phase.

13 years agosave-ebuild-env.sh: tweak PYTHONPATH cleansing
Zac Medico [Mon, 12 Sep 2011 03:06:27 +0000 (20:06 -0700)]
save-ebuild-env.sh: tweak PYTHONPATH cleansing

13 years agoconfig: set USERLAND if unset
Zac Medico [Mon, 12 Sep 2011 01:38:06 +0000 (18:38 -0700)]
config: set USERLAND if unset

13 years agoisolated-functions.sh: skip set_colors for depend
Zac Medico [Mon, 12 Sep 2011 01:24:48 +0000 (18:24 -0700)]
isolated-functions.sh: skip set_colors for depend

This avoids an unneeded stty call.

13 years agoMove KV funcs to bashrc-functions.sh.
Zac Medico [Mon, 12 Sep 2011 01:09:44 +0000 (18:09 -0700)]
Move KV funcs to bashrc-functions.sh.

13 years agoisolated-functions.sh: split save-ebuild-env.sh
Zac Medico [Mon, 12 Sep 2011 00:56:57 +0000 (17:56 -0700)]
isolated-functions.sh: split save-ebuild-env.sh

13 years agoebuild.sh: setup PATH earlier
Zac Medico [Mon, 12 Sep 2011 00:33:18 +0000 (17:33 -0700)]
ebuild.sh: setup PATH earlier

This avoids "uname: command not found" messages from
isolated-functions.sh.

13 years agoebuild.sh: source *.sh at the top
Zac Medico [Mon, 12 Sep 2011 00:16:26 +0000 (17:16 -0700)]
ebuild.sh: source *.sh at the top

13 years agoMove preprocess_ebuild_env to phase-functions.sh.
Zac Medico [Mon, 12 Sep 2011 00:01:50 +0000 (17:01 -0700)]
Move preprocess_ebuild_env to phase-functions.sh.

13 years agoebuild.sh: split out bashrc-functions.sh
Zac Medico [Sun, 11 Sep 2011 23:39:10 +0000 (16:39 -0700)]
ebuild.sh: split out bashrc-functions.sh

13 years agoebuild.sh: move hasg* funcs into econf
Zac Medico [Sun, 11 Sep 2011 23:15:28 +0000 (16:15 -0700)]
ebuild.sh: move hasg* funcs into econf

13 years agoebuild.sh: remove unused lchown and lchgrp
Zac Medico [Sun, 11 Sep 2011 22:58:24 +0000 (15:58 -0700)]
ebuild.sh: remove unused lchown and lchgrp

13 years agobuild.sh: has/best_version to phase-helpers.sh
Zac Medico [Sun, 11 Sep 2011 22:50:07 +0000 (15:50 -0700)]
build.sh: has/best_version to phase-helpers.sh

13 years agoebuild.sh: move ebuild_main to phase-functions.sh
Zac Medico [Sun, 11 Sep 2011 22:17:09 +0000 (15:17 -0700)]
ebuild.sh: move ebuild_main to phase-functions.sh

13 years agoebuild.sh: move use* funcs to phase-helpers.sh
Zac Medico [Sun, 11 Sep 2011 21:29:04 +0000 (14:29 -0700)]
ebuild.sh: move use* funcs to phase-helpers.sh

13 years agoebuild.sh: add dummy funcs for "depend" phase
Zac Medico [Sun, 11 Sep 2011 21:16:23 +0000 (14:16 -0700)]
ebuild.sh: add dummy funcs for "depend" phase

13 years agodepgraph: pull in new virtual slots with --update
Zac Medico [Sun, 11 Sep 2011 20:43:10 +0000 (13:43 -0700)]
depgraph: pull in new virtual slots with --update

This re-implements the fix from commit
21330075f07248765016e104b3ba8216903f1ecb, without introducing the
unwanted behavior reported in bug 382557. This involves checking the
direct dependencies of virtual slot updates to make sure they are all
visible, before pulling them in.

13 years agoAdd VirtualSlotResolverTestCase for bug #382557.
Zac Medico [Sun, 11 Sep 2011 18:49:36 +0000 (11:49 -0700)]
Add VirtualSlotResolverTestCase for bug #382557.

13 years agoRevert virtual slot update code for bug 382557.
Zac Medico [Sun, 11 Sep 2011 17:30:56 +0000 (10:30 -0700)]
Revert virtual slot update code for bug 382557.

This reverts the behavior change from commit
21330075f07248765016e104b3ba8216903f1ecb, since it's too aggressive in
pulling in new virtual slots that may have masked dependencies.

13 years agoebuild.sh: split out phase-helpers.sh
Zac Medico [Sun, 11 Sep 2011 00:47:07 +0000 (17:47 -0700)]
ebuild.sh: split out phase-helpers.sh

This relocates phase helper functions that are needed for execution of
regular phases, but not for the "depend" phase. It reduces the size of
ebuild.sh by 25%, so there's less code to be sourced during the
"depend" phase.

13 years agoebuild.sh: split out phase-functions.sh
Zac Medico [Sun, 11 Sep 2011 00:24:21 +0000 (17:24 -0700)]
ebuild.sh: split out phase-functions.sh

This relocates dyn_* and related functions that are needed for
execution of regular phases, but not for the "depend" phase. It
reduces the size of ebuild.sh by 23%, so there's less code to be
sourced during the "depend" phase.

13 years agodepgraph: refactor virtual slot --update code
Zac Medico [Sat, 10 Sep 2011 21:50:57 +0000 (14:50 -0700)]
depgraph: refactor virtual slot --update code

This re-implements the change from commit
21330075f07248765016e104b3ba8216903f1ecb in order to avoid executing
unnessary virtual slot expansion code when the given atom specifies a
slot or --update is enabled.

13 years agorepoman: fix a typo in the file.executable desc
Zac Medico [Sat, 10 Sep 2011 19:42:51 +0000 (12:42 -0700)]
repoman: fix a typo in the file.executable desc

13 years agoAdd repoman warning about bash-completion deprecation.
Michał Górny [Sat, 10 Sep 2011 18:13:45 +0000 (20:13 +0200)]
Add repoman warning about bash-completion deprecation.

13 years agodepgraph: use Atom.with_slot() to match virtuals
Zac Medico [Sat, 10 Sep 2011 14:31:10 +0000 (07:31 -0700)]
depgraph: use Atom.with_slot() to match virtuals

This ensures that USE deps and repo deps are preserved here.

13 years agoAtom: add a with_slot method for adding a slot
Zac Medico [Sat, 10 Sep 2011 14:25:19 +0000 (07:25 -0700)]
Atom: add a with_slot method for adding a slot

13 years agodepgraph: use _iter_match_pkgs_any where possible
Zac Medico [Sat, 10 Sep 2011 03:22:29 +0000 (20:22 -0700)]
depgraph: use _iter_match_pkgs_any where possible

13 years agoUse utf_8 'merge' encoding for all locales. v2.2.0_alpha55
Zac Medico [Fri, 9 Sep 2011 20:47:30 +0000 (13:47 -0700)]
Use utf_8 'merge' encoding for all locales.

Previously, we used sys.getfilesystemencoding() for the 'merge'
encoding, but that had various problems:

   1) If the locale is ever changed then it can cause orphan files due
      to changed character set translation.

   2) Ebuilds typically install files with utf_8 encoded file names,
      and then portage would be forced to rename those files to match
      sys.getfilesystemencoding(), possibly breaking things.

   3) Automatic translation between encodings can lead to nonsensical
      file names when the source encoding is unknown by portage.

   4) It's inconvenient for ebuilds to convert the encodings of file
      names themselves, and upstreams typically encode file names with
      utf_8 encoding.

So, instead of relying on sys.getfilesystemencoding(), we avoid the above
problems by using a constant utf_8 'merge' encoding for all locales, as
discussed in bug #382199 and bug #381509.

13 years agodepgraph: pull in new virtual slots with --update
Zac Medico [Fri, 9 Sep 2011 19:58:27 +0000 (12:58 -0700)]
depgraph: pull in new virtual slots with --update

Previously, the virtual cost minimization code from bug #141118 would
prevent virtual dependencies from pulling in new slots. That behavior
was not desired for --update, so now it's fixed to pull in the latest
slot available. This allows virtual/jdk-1.7.0 to be pulled in by
dependencies when --update is enabled.

13 years agogetbinpkg: fix old binhost protocol for python3
Zac Medico [Fri, 9 Sep 2011 04:05:58 +0000 (21:05 -0700)]
getbinpkg: fix old binhost protocol for python3

This will fix bug #382233.

13 years agoegencache: tweak cache dir write access check
Zac Medico [Wed, 7 Sep 2011 18:01:14 +0000 (11:01 -0700)]
egencache: tweak cache dir write access check

13 years agoegencache: remove metadata-transfer warning
Zac Medico [Wed, 7 Sep 2011 17:49:46 +0000 (10:49 -0700)]
egencache: remove metadata-transfer warning

It should be enough that the automatic use of metadata-transfer is
documented in the man page, and allows us to avoid showing a useless
warning in common usage scenarios.

13 years agopordbapi: add unshared cache mode for egencache
Zac Medico [Wed, 7 Sep 2011 17:36:37 +0000 (10:36 -0700)]
pordbapi: add unshared cache mode for egencache

13 years agoegencache: validate cache dir more
Zac Medico [Wed, 7 Sep 2011 16:29:48 +0000 (09:29 -0700)]
egencache: validate cache dir more

13 years agocache/volatile: fix __iter__ and __contains__
Zac Medico [Wed, 7 Sep 2011 15:56:15 +0000 (08:56 -0700)]
cache/volatile: fix __iter__ and __contains__

Special methods can't be assigned in the constructor.

13 years agoabssymlink: fix inverted logic from last commit v2.2.0_alpha54
Zac Medico [Tue, 6 Sep 2011 19:15:06 +0000 (12:15 -0700)]
abssymlink: fix inverted logic from last commit

13 years agomerge: avoid abssymlink readlink call
Zac Medico [Tue, 6 Sep 2011 18:34:57 +0000 (11:34 -0700)]
merge: avoid abssymlink readlink call

This will avoid the "OSError: [Errno 2] No such file or directory" that
is triggered inside abssymlink if the merge encoding is not ascii or
utf_8, as shown in bug #382021.

13 years agotests/emerge: test regenworld
Zac Medico [Mon, 5 Sep 2011 23:26:05 +0000 (16:26 -0700)]
tests/emerge: test regenworld

13 years agotests/emerge: test fixpackages
Zac Medico [Mon, 5 Sep 2011 23:22:11 +0000 (16:22 -0700)]
tests/emerge: test fixpackages

13 years agotests/emerge: test env-update
Zac Medico [Mon, 5 Sep 2011 23:16:01 +0000 (16:16 -0700)]
tests/emerge: test env-update

13 years agotests/emerge: test portageq
Zac Medico [Mon, 5 Sep 2011 23:06:44 +0000 (16:06 -0700)]
tests/emerge: test portageq

13 years agoResolverPlayground: make.profile in /etc/portage
Zac Medico [Mon, 5 Sep 2011 22:44:40 +0000 (15:44 -0700)]
ResolverPlayground: make.profile in /etc/portage

13 years agotests/emerge: test egencache
Zac Medico [Mon, 5 Sep 2011 22:35:02 +0000 (15:35 -0700)]
tests/emerge: test egencache

This tests --update in any case, and --update-use-local-desc only if
python xml support is detected.

13 years agotests/emerge: add a debug mode that shows stdout
Zac Medico [Mon, 5 Sep 2011 21:43:42 +0000 (14:43 -0700)]
tests/emerge: add a debug mode that shows stdout

13 years agotests/emerge: test directory with latin-1 enc
Zac Medico [Mon, 5 Sep 2011 21:27:35 +0000 (14:27 -0700)]
tests/emerge: test directory with latin-1 enc

13 years agoUpdate unread news items in --pretend mode.
Zac Medico [Mon, 5 Sep 2011 00:58:44 +0000 (17:58 -0700)]
Update unread news items in --pretend mode.

This has been disabled since commit
c7faa634369e61b87a40172ceb0a5cb9494fd518, but the only reason cited
was to avoid permissions issues. So, go ahead and enable it, and handle
PermissionDenied just in case. NOTE: The NewsManager typically handles
permission errors by returning silently, so PermissionDenied won't
necessarily be raised even if we do trigger a permission error.

13 years agotest_pty_eof: add SKIP msg for unsupported plat
Zac Medico [Sun, 4 Sep 2011 19:05:48 +0000 (12:05 -0700)]
test_pty_eof: add SKIP msg for unsupported plat

13 years agotests/emerge: auto-disable sandbox if necessary
Zac Medico [Sun, 4 Sep 2011 17:21:57 +0000 (10:21 -0700)]
tests/emerge: auto-disable sandbox if necessary

13 years agoFix repoman dependency.unknown to use xmatch. v2.2.0_alpha53
Zac Medico [Sun, 4 Sep 2011 00:22:25 +0000 (17:22 -0700)]
Fix repoman dependency.unknown to use xmatch.

This solves the issues discussed in bug #381087, comment #8.

13 years agoHandle symlink content with bad encoding.
Zac Medico [Sat, 3 Sep 2011 23:46:09 +0000 (16:46 -0700)]
Handle symlink content with bad encoding.

This will fix bug #381629. The case is tested in tests/emerge. During
forced charset conversion, 'ascii' codec is forced, since otherwise we
somehow end up with the wrongly encoded file names when running the
test with Python 3.2 (which causes encoding problems for quickpkg when
it calls tarfile.gettarinfo).

13 years agoJoin /var/log/emerge.log with EPREFIX.
Zac Medico [Sat, 3 Sep 2011 23:32:50 +0000 (16:32 -0700)]
Join /var/log/emerge.log with EPREFIX.

13 years agoelog/mod_save: join /var/log with os.sep too
Zac Medico [Sat, 3 Sep 2011 23:17:04 +0000 (16:17 -0700)]
elog/mod_save: join /var/log with os.sep too

13 years agoelog/mod_echo: send all msg types to stdout
Zac Medico [Sat, 3 Sep 2011 23:11:10 +0000 (16:11 -0700)]
elog/mod_echo: send all msg types to stdout

13 years agoelog/mod_save: join /var/log with EPREFIX
Zac Medico [Sat, 3 Sep 2011 22:59:38 +0000 (15:59 -0700)]
elog/mod_save: join /var/log with EPREFIX

13 years agoHandle unpickle EOFError.
Zac Medico [Sat, 3 Sep 2011 19:04:58 +0000 (12:04 -0700)]
Handle unpickle EOFError.

13 years agoHandle unpickle AttributeError (bug #381705).
Zac Medico [Sat, 3 Sep 2011 18:39:05 +0000 (11:39 -0700)]
Handle unpickle AttributeError (bug #381705).

13 years agotests/emerge: add minimal herds.xml
Zac Medico [Sat, 3 Sep 2011 18:05:57 +0000 (11:05 -0700)]
tests/emerge: add minimal herds.xml

This will allow src_test to trigger issues like bug #381657.

13 years agoxml/metadata: handle py 3.1 cElementTree incompat
Zac Medico [Sat, 3 Sep 2011 17:09:01 +0000 (10:09 -0700)]
xml/metadata: handle py 3.1 cElementTree incompat

This will fix bug #381657.

13 years agoFix indentation. v2.2.0_alpha52
Arfrever Frehtes Taifersar Arahesis [Fri, 2 Sep 2011 17:28:24 +0000 (19:28 +0200)]
Fix indentation.

13 years agoxml/metadata: handle py 2.6 cElementTree incompat
Zac Medico [Fri, 2 Sep 2011 15:45:43 +0000 (08:45 -0700)]
xml/metadata: handle py 2.6 cElementTree incompat

13 years agovartree: add missing _merge_unicode_error import
Zac Medico [Fri, 2 Sep 2011 15:06:58 +0000 (08:06 -0700)]
vartree: add missing _merge_unicode_error import

13 years agotests/emerge: disable unmerge delays
Zac Medico [Fri, 2 Sep 2011 06:34:06 +0000 (23:34 -0700)]
tests/emerge: disable unmerge delays

13 years agotests/emerge: test binary packages and emaint
Zac Medico [Fri, 2 Sep 2011 02:50:42 +0000 (19:50 -0700)]
tests/emerge: test binary packages and emaint

13 years agoUse utf_8 encoding for merge when ascii is configured.
Zac Medico [Fri, 2 Sep 2011 02:10:51 +0000 (19:10 -0700)]
Use utf_8 encoding for merge when ascii is configured.

It probably won't hurt, and forced conversion to ascii encoding is
known to break some packages that install file names with utf_8
encoding (see bug #381509). The ascii aliases are borrowed from
python's encodings.aliases.aliases dict.

13 years agotests/emerge: enable arbitrary commands
Zac Medico [Fri, 2 Sep 2011 01:43:31 +0000 (18:43 -0700)]
tests/emerge: enable arbitrary commands

This will allow us to throw in some test commands for various helpers
related to emerge (things like etc-update, dispatch-conf, quickpkg,
portageq, ebuild, and emaint).

13 years agoShow merge list before "missed update" messages.
Zac Medico [Fri, 2 Sep 2011 00:24:03 +0000 (17:24 -0700)]
Show merge list before "missed update" messages.

13 years agomerge: start at correct EPREFIX offset
Zac Medico [Thu, 1 Sep 2011 08:43:03 +0000 (01:43 -0700)]
merge: start at correct EPREFIX offset

13 years agotests/emerge: install some files
Zac Medico [Thu, 1 Sep 2011 07:17:36 +0000 (00:17 -0700)]
tests/emerge: install some files

13 years agotests/emerge: add some pkgs for depclean
Zac Medico [Thu, 1 Sep 2011 06:55:06 +0000 (23:55 -0700)]
tests/emerge: add some pkgs for depclean

13 years agodoebuild_environment: include EPREFIX in ED
Zac Medico [Thu, 1 Sep 2011 06:48:25 +0000 (23:48 -0700)]
doebuild_environment: include EPREFIX in ED

13 years agounmerge: never unmerge outside of EROOT
Zac Medico [Thu, 1 Sep 2011 06:45:01 +0000 (23:45 -0700)]
unmerge: never unmerge outside of EROOT

13 years agoxml/metadata: implement XMLParser.doctype()
Zac Medico [Thu, 1 Sep 2011 02:52:58 +0000 (19:52 -0700)]
xml/metadata: implement XMLParser.doctype()

Avoid deprecation warnings again, like in commit
63035acd702ab0cdaac31e33676b5a20a91eae47.

13 years agoRevert "xml/metadata: implement XMLParser.doctype()"
Zac Medico [Thu, 1 Sep 2011 02:54:19 +0000 (19:54 -0700)]
Revert "xml/metadata: implement XMLParser.doctype()"

This reverts commit ce501b36d7078db059c606d3b4f38637ad09528e.
This commit had lots of unintended changes included.

13 years agoxml/metadata: implement XMLParser.doctype()
Zac Medico [Thu, 1 Sep 2011 02:52:58 +0000 (19:52 -0700)]
xml/metadata: implement XMLParser.doctype()

Avoid deprecation warnings again, like in commit
63035acd702ab0cdaac31e33676b5a20a91eae47.

13 years agoFix deprecated Element.getchildren() call.
Zac Medico [Thu, 1 Sep 2011 02:39:12 +0000 (19:39 -0700)]
Fix deprecated Element.getchildren() call.