gns-deb-diff

automate the documentation of the differences between gNewSense and Debian.
git clone git://git.ricketyspace.net/gns-deb-diff.git
Log | Files | Refs

commit 39202af96754d4e518d8a36630ef32d9172e2f46
parent 5343d1d65e6dd02e67d68a84cb5d748130c43bdc
Author: rsiddharth <s@ricketyspace.net>
Date:   Sat, 17 Dec 2016 03:46:53 +0000

gd-diff/ -> gns_deb_diff/

* gd_diff.py (gns_wiki_header): Update function.
* gd-diff/data/wiki-header.txt: Remove file.
* gns_deb_diff/data/wiki-header.txt: Add file.
* tests/test_gd_diff.py (test_gns_wiki_header): Update function.

Diffstat:
gd-diff/data/wiki-header.txt | 3---
gd_diff.py | 2+-
gns_deb_diff/data/wiki-header.txt | 3+++
tests/test_gd_diff.py | 2+-
4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/gd-diff/data/wiki-header.txt b/gd-diff/data/wiki-header.txt @@ -1,3 +0,0 @@ -= Differences With Debian = - -/* This page is generated by a script. Don't manually edit this page. */ diff --git a/gd_diff.py b/gd_diff.py @@ -384,7 +384,7 @@ def generate_wiki_table(release): def gns_wiki_header(): """Return gNewSense wiki header.""" - header = resource_string(__name__, 'gd-diff/data/wiki-header.txt') + header = resource_string(__name__, 'gns_deb_diff/data/wiki-header.txt') return header.decode() diff --git a/gns_deb_diff/data/wiki-header.txt b/gns_deb_diff/data/wiki-header.txt @@ -0,0 +1,3 @@ += Differences With Debian = + +/* This page is generated by a script. Don't manually edit this page. */ diff --git a/tests/test_gd_diff.py b/tests/test_gd_diff.py @@ -445,7 +445,7 @@ class TestGdDiff(object): def test_gns_wiki_header(self): header = gns_wiki_header() - expected_header = open('gd-diff/data/wiki-header.txt', 'r').read() + expected_header = open('gns_deb_diff/data/wiki-header.txt', 'r').read() assert header == expected_header