Giter Club home page Giter Club logo

gorganizer's People

Contributors

ahmdrz avatar alexfigueiredo avatar bcicen avatar d6o avatar disiqueira avatar mildlyoriginal avatar mkacmaz avatar nochso avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gorganizer's Issues

Move from bolt to other storage

Hi, I've already commented on your reddit post as porkbonk.

Ideas for another way to store and query rules:

  • JSON (see encoding/json)
    {
        "Music": [
            "mp3",
            "wav"
        ],
            "Archive": [
            "7z",
            "tar"
        ]
    }
    
  • CSV with varying amount of columns (see encoding/csv). This is easy and easy to edit. But it will be difficult to extend or add new features.
    Music;mp3;wav
    Archive;7z;tar
    

Otherwise YAML or TOML might be the most user friendly, but then you'd have an external dependency.

installation problem

In ubuntu mate 16.04 , when i try install locally with $ go get github.com/DiSiqueira/Gorganizer, following error message is shown on terminal:

../.gvm/pkgsets/go1.10/global/src/github.com/DiSiqueira/Gorganizer/gorganizer.go:31:23: cannot use newFile (type gotree.GTStructure) as type *gotree.GTStructure in append
../.gvm/pkgsets/go1.10/global/src/github.com/DiSiqueira/Gorganizer/gorganizer.go:39:26: cannot use newFile (type gotree.GTStructure) as type *gotree.GTStructure in append
../.gvm/pkgsets/go1.10/global/src/github.com/DiSiqueira/Gorganizer/gorganizer.go:40:21: cannot use newFolder (type gotree.GTStructure) as type *gotree.GTStructure in append
../.gvm/pkgsets/go1.10/global/src/github.com/DiSiqueira/Gorganizer/gorganizer.go:114:18: cannot use tree (type gotree.GTStructure) as type *gotree.GTStructure in argument to gotree.PrintTree
../.gvm/pkgsets/go1.10/global/src/github.com/DiSiqueira/Gorganizer/ini.go:71:29: cannot use treeItem (type gotree.GTStructure) as type *gotree.GTStructure in append
../.gvm/pkgsets/go1.10/global/src/github.com/DiSiqueira/Gorganizer/ini.go:74:22: cannot use treeFolder (type gotree.GTStructure) as type *gotree.GTStructure in append
../.gvm/pkgsets/go1.10/global/src/github.com/DiSiqueira/Gorganizer/ini.go:78:18: cannot use tree (type gotree.GTStructure) as type *gotree.GTStructure in argument to gotree.PrintTree

Release 0.1 is not packaged correctly

v0.1's tarball doesn't contain any valid source code:

$ tree .
.
├── bin
│   └── gorganizer
├── gorganizer-logo.png
├── LICENSE
├── README.md
└── src
    ├── bolt.go
    ├── defaultdb.go
    ├── gorganizer.go
    └── rules.go

2 directories, 8 files

which prevents me from packaging Gorganizer for Gentoo/Linux, since I get :

can't load package: package github.com/DiSiqueira/Gorganizer: no buildable Go source files in /var/tmp/portage/dev-util/gorganizer-0.1/work/gopath/src/github.com/DiSiqueira/Gorganizer

For the moment I temporarily resolved by pulling in the HEAD of the repository instead of the tarball.
Please, meanwhile can you supply a proper tarball release with all the source codes? Thank you :)

p.s.: don't package Gorganizer's executable inside the tarball, it's considered a bad practise.

Load rules from central location

Instead of a file in the current working directory, use a user-specific path.

e.g. $HOME/.gorganizer.json, see os/user.User

If some folders are "special" and need other settings you could do it like this:

  1. Check current working directory for .gorganizer.json and use it it only if it exists.
  2. Otherwise use $HOME/.gorganizer.json as a default.

That way you can have folder-specific settings if you want. Otherwise it's user-specific.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.