Closed BenLubar closed 4 years ago
Thanks for taking the time to review!
I'll take a look at this soon.
config
object in f7093b7d38976aad9cc54593b94f4c12d8ce178eThere isn't any new functionality hooked up at this time, but I'm thinking of spending a few hours tonight doing so. I'll close this issue, but please do more code reviews (either open this one again, or create a new issue).
https://github.com/go-fed/apcore/blob/d66d825ea1a38f2f6a371f6d72a82b56515ca2ad/go.mod#L6
This version of
go-fed/activity
doesn't have the requiredgithub.com/go-fed/activity/streams/vocab
package.To update to the latest master, run
go get github.com/go-fed/activity@master
in theapcore
directory.go-fed/activity
requestedhttps://github.com/go-fed/apcore/blob/d66d825ea1a38f2f6a371f6d72a82b56515ca2ad/database.go#L303-L305
This string is backwards. Trivial fix.
user
anddb_name
in "do you have a password" prompt(side note: it would also be nice to be able to remember the password/lack of password in the config, even if it had to be added manually)
https://github.com/go-fed/apcore/blob/d66d825ea1a38f2f6a371f6d72a82b56515ca2ad/config.go#L148
This always crashes because
c
isnil
and the database config can't be guessed by the ini package.Proposed fix:
it seems the current executable code path doesn't get any further than this, so I'll stop the review here for now