Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to add to shares database #417

Merged
merged 5 commits into from
Mar 11, 2019
Merged

Add ability to add to shares database #417

merged 5 commits into from
Mar 11, 2019

Conversation

SailSlick
Copy link
Contributor

closes #28

  • Adds share db servicer
  • Add calls in feed.go to get shares

@SailSlick
Copy link
Contributor Author

force push to rebase

@SailSlick SailSlick mentioned this pull request Mar 9, 2019
Copy link
Member

@CianLR CianLR left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ltgm, seems to be a bit of duplication with some posts stuff, but that's tech debt we ain't paying off

req.article_id
)
except sqlite3.Error as e:
self._db.commit()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks kind of similar to mine, I recently rethought how to handle the error and changed this to self._db.discard_cursor() which should disregard the changes

@SailSlick SailSlick mentioned this pull request Mar 11, 2019
@SailSlick
Copy link
Contributor Author

I moved the duplicated section between the posts servicer and the share servicer a lot. Tried merging the posts stuff with the share system so every post would hold the same stuff. It ended up a lot nastier so i went with this.

@SailSlick SailSlick merged commit 7e3f910 into master Mar 11, 2019
@SailSlick SailSlick deleted the r/announce_local branch March 11, 2019 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow user to "reblog"/share/Announce a blog post
2 participants