Skip to content

Commit

Permalink
Add some debugging of metadata read.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Prince committed Oct 24, 2014
1 parent bd790e2 commit 516e3bd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/mergerepo_c.c
Original file line number Diff line number Diff line change
Expand Up @@ -935,6 +935,9 @@ merge_repos(GHashTable *merged,
}
}

g_debug("Reading metadata for %s (%s-%s.%s)",
pkg->name, pkg->version, pkg->release, pkg->arch);

// Add package
ret = add_package(pkg,
repopath,
Expand Down Expand Up @@ -1144,6 +1147,9 @@ dump_merged_metadata(GHashTable *merged_hashtable,
pkg = (cr_Package *) element->data;
res = cr_xml_dump(pkg, NULL);

g_debug("Writing metadata for %s (%s-%s.%s)",
pkg->name, pkg->version, pkg->release, pkg->arch);

cr_xmlfile_add_chunk(pri_f, (const char *) res.primary, NULL);
cr_xmlfile_add_chunk(fil_f, (const char *) res.filelists, NULL);
cr_xmlfile_add_chunk(oth_f, (const char *) res.other, NULL);
Expand Down

0 comments on commit 516e3bd

Please sign in to comment.