diff --git a/app/app.py b/app/app.py index 491deb5..4d79f8f 100644 --- a/app/app.py +++ b/app/app.py @@ -166,6 +166,9 @@ def app_maintainer_dash(): if test.branch.name == "stable": app.ci_level = test.level + if isinstance(app.public_level, str): + app.public_level = -1 + maintainers = sorted(maintainers, key=lambda m: m.lower()) apps = sorted(apps, key=lambda app: app.name.lower()) diff --git a/app/scripts/appListsHistory/script.py b/app/scripts/appListsHistory/script.py index 2042044..ba0ee49 100644 --- a/app/scripts/appListsHistory/script.py +++ b/app/scripts/appListsHistory/script.py @@ -124,6 +124,7 @@ def make_rss_feed(): fe.title('Changes between %s and %s' % (diff["begin"].strftime("%b %d"), diff["end"].strftime("%b %d"))) fe.link(href='https://github.com/YunoHost/apps/commits/master/community.json') fe.content(jinja2.Template(open("rss_template.html").read()).render(data=diff), type="html") + fe._FeedEntry__atom_updated = diff["end"] fg.atom_file('atom.xml') @@ -157,6 +158,6 @@ def make_count_summary(): json.dump(history, open('count_history.json', 'w')) -#get_lists_history() +get_lists_history() make_rss_feed() -#make_count_summary() +make_count_summary() diff --git a/app/scripts/callForListing/callForListing.sh b/app/scripts/callForListing/callForListing.sh index 14daa7c..b3f8e1f 100755 --- a/app/scripts/callForListing/callForListing.sh +++ b/app/scripts/callForListing/callForListing.sh @@ -15,6 +15,7 @@ function createIssue() --data "$DATA" ) #echo "$ANSWER" >&2 + echo "$ANSWER" echo "$ANSWER" \ | grep "^ \"html_url\":" \ | awk '{print $2}' \ @@ -31,6 +32,7 @@ function main() while read -r line do + echo $line OWNER=$(echo "$line" | tr '/' ' ' | awk '{print $3}') REPO=$(echo "$line" | tr '/' ' ' | awk '{print $4}') createIssue $OWNER $REPO diff --git a/app/templates/maintainer.html b/app/templates/maintainer.html index f2871b3..4287f91 100644 --- a/app/templates/maintainer.html +++ b/app/templates/maintainer.html @@ -83,7 +83,7 @@ table-success {% endif %} " value="{{ app.public_level }}"> -