Skip to content

Commit

Permalink
v1.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitexus committed Apr 27, 2021
1 parent 22b94ad commit 197caac
Show file tree
Hide file tree
Showing 8 changed files with 305 additions and 3 deletions.
14 changes: 14 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
FROM debian:latest

env DEBIAN_FRONTEND=noninteractive

RUN apt update ; apt install -y wget; echo "deb http://repo.vitexsoftware.cz buster main" | tee /etc/apt/sources.list.d/vitexsoftware.list ; wget -O /etc/apt/trusted.gpg.d/vitexsoftware.gpg http://repo.vitexsoftware.cz/keyring.gpg
RUN apt-get update && apt-get install -y locales cron locales-all && rm -rf /var/lib/apt/lists/* \
&& localedef -i cs_CZ -c -f UTF-8 -A /usr/share/locale/locale.alias cs_CZ.UTF-8
ENV LANG cs_CZ.utf8

RUN apt update

RUN apt -y install abraflexi-toggl-importer

CMD [ "/usr/bin/toggl2abraflexi" ]
28 changes: 28 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
repoversion=$(shell LANG=C aptitude abraflexi-toggl-importer | grep Version: | awk '{print $$2}')
currentversion=$(shell dpkg-parsechangelog --show-field Version)
nextversion=$(shell echo $(repoversion) | perl -ne 'chomp; print join(".", splice(@{[split/\./,$$_]}, 0, -1), map {++$$_} pop @{[split/\./,$$_]}), "\n";')

all:



deb:
debuild -i -us -uc -b

dimage:
docker build -t vitexsoftware/abraflexi-toggl-importer .

drun: dimage
docker run -dit --name AbraFlexiTogglImporter -p 8080:80 vitexsoftware/abraflexi-toggl-importer

release:
echo Release v$(nextversion)
docker build -t vitexsoftware/abraflexi-toggl-importer:$(nextversion) .
dch -v $(nextversion) `git log -1 --pretty=%B | head -n 1`
debuild -i -us -uc -b
git commit -a -m "Release v$(nextversion)"
git tag -a $(nextversion) -m "version $(nextversion)"
docker push vitexsoftware/abraflexi-toggl-importer:$(nextversion)
docker push vitexsoftware/abraflexi-toggl-importer:latest


4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
Toggl to AbraFlexi
=================
==================

![Logo](abraflexi-toggl-importer.svg?raw=true)


Process all time records within given scope into invoice with items grouped by Clients + Also the CSV Timesheet is attached to Invoice.
Expand Down
226 changes: 226 additions & 0 deletions abraflexi-toggl-importer.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified bin/toggl2xls
100644 → 100755
Empty file.
6 changes: 4 additions & 2 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
abraflexi-toggl-importer (1.0) UNRELEASED; urgency=medium
abraflexi-toggl-importer (1.1) UNRELEASED; urgency=medium

* Initial release.
* Icon addedd
* Current month added

-- CyberVitexus <vitex@exiv.jinonice.czf> Sun, 12 Jul 2020 12:02:43 +0200
-- CyberVitexus <vitex@exiv.jinonice.czf> Tue, 27 Apr 2021 18:15:57 +0200
2 changes: 2 additions & 0 deletions debian/install
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ bin/* usr/bin
src/*.php usr/share/abraflexi-toggl-importer/
src/Toggl2AbraFlexi/*.php usr/share/abraflexi-toggl-importer/Toggl2AbraFlexi
debian/composer.json usr/lib/abraflexi-toggl-importer/
abraflexi-toggl-importer.svg /usr/share/icons/hicolor/scalable/apps/
debian/io.github.vitexsoftware.toggl_to_abraflexi.metainfo.xml /usr/share/metainfo/
28 changes: 28 additions & 0 deletions debian/io.github.vitexsoftware.toggl_to_abraflexi.metainfo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="console-application">
<id>io.github.vitexsoftware.toggl_to_abraflexi</id>

<name>Toggl to AbraFlexi</name>
<summary>process time records into invoice</summary>

<metadata_license>MIT</metadata_license>
<project_license>MIT</project_license>

<description>
<p>
Process all time records within given scope into invoice with items grouped by Clients + Also the CSV Timesheet is attached to Invoice.
</p>
</description>

<icon type="stock">abraflexi-toggl-importer</icon>

<categories>
<category>Office</category>
<category>Adult</category>
</categories>

<provides>
<binary>toggl2abraflexi</binary>
</provides>
</component>

0 comments on commit 197caac

Please sign in to comment.