-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
305 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
debian/io.github.vitexsoftware.toggl_to_abraflexi.metainfo.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> | ||
|