projects
/
ppastats.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added package status option
[ppastats.git]
/
src
/
ppastats.c
diff --git
a/src/ppastats.c
b/src/ppastats.c
index
078eeab
..
baca55c
100644
(file)
--- a/
src/ppastats.c
+++ b/
src/ppastats.c
@@
-137,7
+137,10
@@
static struct arch_stats *get_arch_stats(struct distro_stats *distro,
}
}
-struct ppa_stats *create_ppa_stats(const char *owner, const char *ppa)
+struct ppa_stats *
+create_ppa_stats(const char *owner,
+ const char *ppa,
+ const char *package_status)
{
struct ppa_stats *ppastats;
struct binary_package_publishing_history **history;
{
struct ppa_stats *ppastats;
struct binary_package_publishing_history **history;
@@
-153,7
+156,8
@@
struct ppa_stats *create_ppa_stats(const char *owner, const char *ppa)
int count;
ppa_url = get_archive_url(owner, ppa);
int count;
ppa_url = get_archive_url(owner, ppa);
- history = get_binary_package_publishing_history_list(ppa_url);
+ history = get_binary_package_publishing_history_list(ppa_url,
+ package_status);
free(ppa_url);
if (!history) {
free(ppa_url);
if (!history) {