Skip to content
Commits on Source (5)
......@@ -41,8 +41,8 @@ draft: true
* [python-irc](https://build.opensuse.org/request/show/699679) (drop file with varying pyc timestamp)
* Vagrant Cascadian:
* [linux](https://salsa.debian.org/kernel-team/linux/merge_requests/140) [Sort list of modules before adding to .json file](https://salsa.debian.org/kernel-team/linux/commit/58ef63e9e2c71ffd8a21e9c620db71cb96d2d5a9)
* debian-installer: [Fix reproducibility of u-boot images by using gzip -n](https://salsa.debian.org/installer-team/debian-installer/commit/deeee34bc0ee5ec879182111b809896752ad0df9)
* [linux](https://salsa.debian.org/kernel-team/linux/merge_requests/140) [Sort list of modules before adding to .json file](https://salsa.debian.org/kernel-team/linux/commit/58ef63e9e2c71ffd8a21e9c620db71cb96d2d5a9)
* debian-installer: [Fix reproducibility of u-boot images by using gzip -n](https://salsa.debian.org/installer-team/debian-installer/commit/deeee34bc0ee5ec879182111b809896752ad0df9)
* [FIXME](https://lwn.net/Articles/785386/)
......
---
layout: new/report
year: "2019"
month: "05"
month_name: "May"
draft: true
title: "Reproducible builds in May 2019"
---
* [FIXME](https://salsa.debian.org/salsa-ci-team/pipeline/merge_requests/74)
#!/usr/bin/env python3
import calendar
import collections
import datetime
import jinja2
......@@ -27,9 +28,10 @@ def main(*args):
for x in PROJECTS + ('reproducible-notes',):
ensure_dir(sibling_repo_gitdir(x))
today = datetime.datetime.utcnow()
previous_month = datetime.date.today().replace(day=1) - \
datetime.timedelta(days=1)
data = get_data(today.year, today.month)
data = get_data(previous_month.year, previous_month.month)
env = jinja2.Environment(
loader=jinja2.FileSystemLoader(os.path.dirname(__file__))
......@@ -75,8 +77,12 @@ def get_data(year, month, max_age=3600):
log("Getting new data")
month_start = datetime.date(year=year, month=month, day=1)
month_end = month_start.replace(day=calendar.monthlen(year, month))
month_start = datetime.datetime(year=year, month=month, day=1)
month_end = month_start.replace(
day=calendar.monthlen(year, month),
hour=23,
minute=59
)
month_start_ts = int(month_start.timestamp())
month_end_ts = int(month_end.timestamp())
......