Coder Social home page Coder Social logo

g-sorcery's People

Contributors

heroxbd avatar jauhien 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

g-sorcery's Issues

Why are so many packages being excluded?

Hi,

I am trying to move all my emacs packages from melpa to g-sorcery. But I see a lot of packages being excluded, which led me to this. Could you please explain the reason behind this? I don't see any problem if these are generated even if they are in tree.

I was specifically trying to install the auto-complete package. The version of auto-complete in tree is several years out of date, since there hasn't been a release, so I really need to install it from git.

Backend for Julia

Hello Jauhien,

The Julia language also has a package manager: http://docs.julialang.org/en/release-0.4/manual/packages/ , which sounds similar to the way Gentoo manages packages. I haven't written any ebuilds myself, but I wondered if you thought it would be worthwhile to write a backend for Julia.

I tried reading through the code for gs-elpa, but got a bit lost in the elpa_db.py file, specifically the get_download_uries method. I wasn't sure if archive-contents was something specific to the elpa repository, or something common to git.

In your To Do list you mentioned implementing ebuild generation using an external tool, with the example of pypi. Julia might provide another use case to test. I should be happy to test or try writing my own if that helps.

Thank you,
Michael

remove herd stuff

Since herds are now gone, what about removing any reference to them?

KEYWORDS should be configurable

At present, KEYWORDS is hard coded to ~amd64 ~x86.

ebuild.py
209: self.template.append('KEYWORDS="~amd64 ~x86"')

There should be a way to override this, for example, to add ~arm.

ImportError with gs-pypi and layman >2.4

Verified under python 3.5 for all versions of layman >2.4 with both g-sorcery 0.2.1-r1 and live package.
Fixed when backed out to layman 2.3.0-r1.

layman -s pypi

  • Fetching remote list...
  • Failed to fetch overlay list!
  • Original Error was:
  • No module named 'layman.overlays.modules.g_sorcery.g-sorcery'
  • Syncing selected overlay(s)...
    Traceback (most recent call last):
    File "/usr/lib/python-exec/python3.5/layman", line 45, in
    main()
    File "/usr/lib64/python3.5/site-packages/layman/cli.py", line 196, in call
    result += getattr(self, action[1])()
    File "/usr/lib64/python3.5/site-packages/layman/cli.py", line 281, in Sync
    result = self.api.sync(selection, update_news=True)
    File "/usr/lib64/python3.5/site-packages/layman/api.py", line 386, in sync
    db = self._get_installed_db()
    File "/usr/lib64/python3.5/site-packages/layman/api.py", line 520, in _get_installed_db
    self._installed_db = DB(self.config)
    File "/usr/lib64/python3.5/site-packages/layman/db.py", line 63, in init
    allow_missing=True,
    File "/usr/lib64/python3.5/site-packages/layman/dbbase.py", line 114, in init
    success = self.read_db(path)
    File "/usr/lib64/python3.5/site-packages/layman/dbbase.py", line 222, in read_db
    return db_ctl.read_db(path, text=text)
    File "/usr/lib64/python3.5/site-packages/layman/db_modules/xml_db/xml_db.py", line 116, in read_db
    success = self.read(document, origin=path)
    File "/usr/lib64/python3.5/site-packages/layman/db_modules/xml_db/xml_db.py", line 137, in read
    ovl = Overlay(config=self.config, xml=overlay, ignore=self.ignore)
    File "/usr/lib64/python3.5/site-packages/layman/overlays/overlay.py", line 71, in init
    self.from_xml(xml, ignore)
    File "/usr/lib64/python3.5/site-packages/layman/overlays/overlay.py", line 452, in from_xml
    self.sources = [create_overlay_source(e) for e in _sources]
    File "/usr/lib64/python3.5/site-packages/layman/overlays/overlay.py", line 452, in
    self.sources = [create_overlay_source(e) for e in _sources]
    File "/usr/lib64/python3.5/site-packages/layman/overlays/overlay.py", line 437, in create_overlay_source
    _class = self.module_controller.get_class(_type)
    File "/usr/lib64/python3.5/site-packages/layman/module.py", line 167, in get_class
    mod = self._modules[modname]['parent'].get_class(modname)
    File "/usr/lib64/python3.5/site-packages/layman/module.py", line 83, in get_class
    module = import(kid['module_name'], [], [], ["not empty"])
    ImportError: No module named 'layman.overlays.modules.g_sorcery.g-sorcery'

exception with gs-pypi

# gs-pypi -o heroxbd -r pypi install objgraph
 * checking manifest
Traceback (most recent call last):
  File "/usr/bin/g-sorcery-python2.7", line 18, in <module>
    sys.exit(g_sorcery.main())
  File "/usr/lib64/python2.7/site-packages/g_sorcery/g_sorcery.py", line 64, in main
    return backend.instance(sys.argv[2:], config, global_config)
  File "/usr/lib64/python2.7/site-packages/g_sorcery/backend.py", line 641, in __call__
    return args.func(args, config, global_config)
  File "/usr/lib64/python2.7/site-packages/g_sorcery/backend.py", line 581, in install
    self.generate(args, config, global_config)
  File "/usr/lib64/python2.7/site-packages/g_sorcery/backend.py", line 221, in generate
    pkg_db.read()
  File "/usr/lib64/python2.7/site-packages/g_sorcery/package_db.py", line 302, in read
    sane, errors = self.check_manifest()
  File "/usr/lib64/python2.7/site-packages/g_sorcery/package_db.py", line 206, in check_manifest
    raise DBStructureError('Bad manifest: no ' + name + ' entry')
g_sorcery.exceptions.DBStructureError: Bad manifest: no categories.json entry

Reported by heroxbd

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.