diff --git a/.woodpecker.yml b/.woodpecker.yml index a238b1f..8fef7af 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -14,11 +14,11 @@ pipeline: - mkdir persistence/test_profiles - go test -bench=. -cover ./... - # integration_test: - # image: offline-twitter/go - # commands: - # - cd cmd - # - ./tests.sh + integration_test: + image: offline-twitter/go + commands: + - cd cmd + - ./tests.sh version_bump_test: image: offline-twitter/go @@ -39,16 +39,13 @@ pipeline: - which ../cmd/tw - ../cmd/tw fetch_user michaelmalice - - - - # dpkg_build_and_upload: - # when: - # branch: release-* - # image: offline-twitter/deploy - # commands: - # - export version=$(echo $CI_COMMIT_BRANCH | grep -Poh "(?<=^release-)\d+\.\d+\.\d+") - # - cd build - # - ./build_dpkg.sh $version - # - scp offline-twitter_$${version}_all.deb aptrepo@apt.playfulpachyderm.com:/apt-repo/test-repo - # - ssh aptrepo@apt.playfulpachyderm.com "cd ~/test-repo && ./update.sh" + dpkg_build_and_upload: + when: + branch: release-* + image: offline-twitter/deploy + commands: + - export version=$(echo $CI_COMMIT_BRANCH | grep -Poh "(?<=^release-)\d+\.\d+\.\d+") + - cd build + - ./build_dpkg.sh $version + - scp offline-twitter-engine_$${version}_all.deb aptrepo@apt.playfulpachyderm.com:/apt-repo/test-repo + - ssh aptrepo@apt.playfulpachyderm.com "cd ~/test-repo && ./update.sh" diff --git a/CHANGELOG.txt b/CHANGELOG.txt index d38ed3c..18152ac 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -91,3 +91,9 @@ v0.1.6 - Add support for `mobile.twitter.com` tweet URLs - Add basic support for Spaces (i.e., can now basically detect whether a tweet links to a Space or not) + +v0.1.7 +------ + +- Add support for multiple videos as well as videos and images in the same tweet +- Restructure media file storage into sub-directories to improve performance when retrieving them diff --git a/doc/TODO.txt b/doc/TODO.txt index 74e3851..ebc91d5 100644 --- a/doc/TODO.txt +++ b/doc/TODO.txt @@ -47,3 +47,9 @@ TODO sqlx - increase coverage (not sure why this is done partially) TODO get-user-tweets-user-doesn't-exist + +TODO bash-completions +- Should have bash completions. + +TODO implement-custom-unmarshal +- the parsing might be excessively complex, and it doesn't correctly catch failures. Might be good to just implement the Unmarshal interface instead