Skip to content

Commit

Permalink
Merge pull request #363 from ederag/python3
Browse files Browse the repository at this point in the history
python3 port + usability fixes
  • Loading branch information
ederag authored Nov 24, 2018
2 parents 4d16f5d + 95c98a7 commit 5fa84d5
Show file tree
Hide file tree
Showing 31 changed files with 982 additions and 829 deletions.
21 changes: 21 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# EditorConfig is awesome: https://EditorConfig.org

# top-most EditorConfig file
root = true

# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true

# Matches multiple files with brace expansion notation
# Set default charset
[*.{js,py}]
charset = utf-8

# 4 space indentation
[*.py]
indent_style = space
indent_size = 4
trim_trailing_whitespace = true
insert_final_newline = true
45 changes: 45 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,51 @@
Hamster is time tracking for individuals. It helps you to keep track of how
much time you have spent during the day on activities you choose to track.



hamster-time-tracker v1.04 was not usable under openSUSE Leap-15,
where python2-gconf is not available any longer.
The [rewrite of hamster](https://github.com/projecthamster/hamster-gtk)
is progressing well, but it is still listed as alpha.

This repo is a fork from
[hamster](https://github.com/projecthamster/hamster) project,
that still used hamster.db, already migrated to Gtk3 and did not
depend on python-gconf.

Lots of the gui ease of use has been lost, especially for tags handling,
start/restart of activities, and the stats display is minimal now.
But at least backward compatibility seems good.
Seems enough to wait for the rewrite.

The fork base commit is [the latest one from master branch](https://github.com/projecthamster/hamster/commit/c3e5fb761c88fdecfd1566cac8b6836228a27cce).

After a little tweaking, it works now,
but has not been thouroughly tested.
Backup `hamster.db` first,
and keep track of activities on a text file too for some days !

To use the development version:
```
pkill -f hamster-service
pkill -f hamster-windows-service
src/hamster-service &
src/hamster-windows-service &
src/hamster-cli
```

To install, python2 is still necessary (for waf).
Adapt the paths below to your system,
`sudo rm/mv` commands, beware !
```
./waf configure build --prefix=/usr && sudo ./waf install
sudo rm -rf /usr/lib/python3.6/site-packages/hamster
sudo mv /usr/lib/python2.7/site-packages/hamster /usr/lib/python3.6/site-packages/
```


*[README from the original repo below]*

**IMPORTANT**
Project Hamster is undergoing a period of major transition. Unless someone
steps up to the task, this repository will remain unmaintained as the
Expand Down
Loading

0 comments on commit 5fa84d5

Please sign in to comment.