From 0489ae53717bea37cfa2e5e342a525877feb20c1 Mon Sep 17 00:00:00 2001 From: Matthew Hanson Date: Tue, 28 Aug 2018 21:59:11 +0300 Subject: [PATCH 1/6] get unique list of dates --- satsearch/scene.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/satsearch/scene.py b/satsearch/scene.py index 68e9f76..63af9ed 100644 --- a/satsearch/scene.py +++ b/satsearch/scene.py @@ -241,7 +241,7 @@ def __delitem__(self, index): def dates(self): """ Get sorted list of dates for all scenes """ - return sorted([s.date for s in self.scenes]) + return sorted(list(set([s.date for s in self.scenes]))) def collections(self): """ Get collection records for this list of scenes """ From cc52d032b9664a374e215cf8c26948b844e9956c Mon Sep 17 00:00:00 2001 From: Matthew Hanson Date: Tue, 28 Aug 2018 21:59:21 +0300 Subject: [PATCH 2/6] bump version --- satsearch/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/satsearch/version.py b/satsearch/version.py index 2e44eee..214ec04 100644 --- a/satsearch/version.py +++ b/satsearch/version.py @@ -1 +1 @@ -__version__ = '1.0.0rc2' +__version__ = '1.0.0rc3' From a897f8a54a60585e394c0738be06f17efe11bf6e Mon Sep 17 00:00:00 2001 From: Matthew Hanson Date: Tue, 28 Aug 2018 22:13:07 +0300 Subject: [PATCH 3/6] fix failing test --- test/test_scene.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_scene.py b/test/test_scene.py index 0c5ba07..e828c16 100644 --- a/test/test_scene.py +++ b/test/test_scene.py @@ -210,7 +210,7 @@ def test_dates(self): """ Get dates of all scenes """ scenes = self.load_scenes() dates = scenes.dates() - self.assertEqual(len(dates), 2) + self.assertEqual(len(dates), 1) def test_text_calendar(self): """ Get calendar """ From 6768d9c00c6704cfc6b6dec7555ddafd834b3e72 Mon Sep 17 00:00:00 2001 From: Matthew Hanson Date: Thu, 1 Nov 2018 13:50:00 -0400 Subject: [PATCH 4/6] add changelog --- CHANGES.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/CHANGES.txt b/CHANGES.txt index e80ea70..313f82b 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -4,3 +4,21 @@ 0.1.0: - initial release (for legacy sat-api: http://github.com/sat-utils/sat-api.git) + + + +# Changelog +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) +and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). + +## [Unreleased] + + +## [v0.1.0] - 2018-10-25 + +Initial Release + +[Unreleased]: https://github.com/sat-utils/sat-api/compare/0.1.0...HEAD +[v0.1.0]: https://github.com/sat-utils/sat-api/tree/0.1.0 \ No newline at end of file From 7cb01adc237eb7ab49eb9abc1959823a2e804916 Mon Sep 17 00:00:00 2001 From: Matthew Hanson Date: Thu, 1 Nov 2018 13:50:42 -0400 Subject: [PATCH 5/6] change vesion and package name --- satsearch/version.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/satsearch/version.py b/satsearch/version.py index 214ec04..b794fd4 100644 --- a/satsearch/version.py +++ b/satsearch/version.py @@ -1 +1 @@ -__version__ = '1.0.0rc3' +__version__ = '0.1.0' diff --git a/setup.py b/setup.py index 6ecbbc8..c19f66e 100755 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ dependency_links = [x.strip().replace('git+', '') for x in all_reqs if 'git+' not in x] setup( - name='satsearch', + name='sat-search', author='Matthew Hanson (matthewhanson)', author_email='matt.a.hanson@gmail.com', version=__version__, From 5906db8e2e0af6035f479fe7f1790c3418c470fe Mon Sep 17 00:00:00 2001 From: Matthew Hanson Date: Thu, 1 Nov 2018 13:56:23 -0400 Subject: [PATCH 6/6] update version --- satsearch/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/satsearch/version.py b/satsearch/version.py index b794fd4..408bb3f 100644 --- a/satsearch/version.py +++ b/satsearch/version.py @@ -1 +1 @@ -__version__ = '0.1.0' +__version__ = '0.1.0b1'