Comments (6)
Thanks, yes I intend to migrate it before Google Code goes read-only in August.
FTR: http://google-opensource.blogspot.com/2015/03/farewell-to-google-code.html
Original comment by [email protected]
on 18 Mar 2015 at 10:43
- Changed state: Accepted
- Added labels: Priority-Critical, Type-Task
- Removed labels: Priority-Medium, Type-Defect
from gcfg.
To expand on this, I plan to transition what has been known as gcfg to
https://gopkg.in/sconf/sconf.v0 (github sconf organization).
The design/organization and implementation of gcfg leaves a lot to be improved
(see TODOs and open issues), and I intend to take this opportunity of changing
import paths to also do some API cleanup and so on. (I am anticipating that
incorporating many of the enhancements will be much more straightforward with
updated APIs.)
You can already find a simple wrapper that just uses gcfg internally (it passes
all the tests included with gcfg) with a new API. (For a start, it uses the
Must convention in case a function panics on invalid input.) I will try to
gradually enhance it part by part.
I'll make a broader announcement when there is some more progress to report; in
the mean time any feedback is welcome here. And of course the existing gcfg
will continue to work as usual.
Original comment by [email protected]
on 15 Apr 2015 at 7:00
- Changed state: Started
from gcfg.
Original comment by [email protected]
on 15 Apr 2015 at 7:11
- Changed title: migrate to gopkg.in/sconf/sconf.v0
from gcfg.
I migrated my code to sconf and it worked ok but now when I try to install the
sconf dependency I am getting errors:
go get gopkg.in/sconf/sconf.v0
../../gopkg.in/sconf/internal.v0/internal/internal.go:8:2: no buildable Go source files in /home/projects/go/src/gopkg.in/sconf/internal.v0/internal/gcfg
Original comment by [email protected]
on 11 May 2015 at 4:25
from gcfg.
Can you reproduce this with a clean GOPATH?
There was indeed an interim version of sconf with a broken gcfg directory so
re-getting with a clean GOPATH may help. (A fresh go-get seems to work for me
now.)
sconf is somewhat experimental / work-in-progress, longer-term project that is
in flux, as indicated by the ".v0". I hope to get it in a stable state by the
time of googlecode read-only switch. For now it's safer to stick with the
original gcfg.
Sorry if this has caused confusion. Maybe I should separate the tasks of
migrating gcfg to github and creating sconf but I thought having two separate
packages would be redundant and more confusing in the long run.
Original comment by [email protected]
on 11 May 2015 at 6:43
from gcfg.
Thanks, removing the gopgk.in folder from the sources in my GOPATH solved the
problem.
Original comment by [email protected]
on 11 May 2015 at 9:13
from gcfg.
Related Issues (15)
- Error messages should be human readable HOT 2
- Empty comment line causes the next line to be interpreted as comment HOT 2
- do we need to import anything? HOT 2
- config files with 'extra' content HOT 4
- Support for `-` in variable/section names HOT 7
- Writing/setting gcfg files HOT 3
- gcfg failed to get HOT 2
- sections with user-supplied variable names HOT 4
- dashes in field names are always converted to underscores HOT 3
- support for "array of section" HOT 7
- doc: make tag explanation more specific and example discoverable HOT 3
- restructure for adaptability to different formats HOT 2
- [patch] allow "_" in the key HOT 1
- Subsections should be made available in an sorted order HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gcfg.