-
Notifications
You must be signed in to change notification settings - Fork 49
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
Replace project codebase with rss-rs #24
Conversation
frewsxcv
commented
Sep 2, 2016
- frewsxcv/rust-rss recently became rust-syndication/rss
- frewsxcv/russ-rss codebase will be replaced by jameshurst/rss-rs codebase
- Attribute values will return an error if the bytes aren't valid utf8 - Error::XmlParsing includes the byte offset
git push -qf https://${TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages | ||
|
||
before_script: | ||
- pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not opposed to just relying on https://docs.rs/rss/ now that docs.rs is done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Though I'm also not opposed to keeping this travis-cargo infra in place
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using docs.rs would probably be a good idea. Maybe we could use both, use travis-cargo for documentation on the master branch and use docs.rs for the current released version.
|
||
## Todo | ||
|
||
* Writing support |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the main concern I have about merging rss-rs as is. Right now, rust-rss supports generating strings of XML from the RSS structures. It feels like a regression to remove that support.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Writing support is definitely something I want to get in. If we were to merge this now we should make sure that writing is implemented before the next crates.io release.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works for me!
LGTM 👍 |
@jameshurst Is there any way I could help with the writing support for the new codebase? |
@frewsxcv I'm pretty far along with the writing support so far. Did the old codebase do any escaping? From my initial glance it doesn't look like it did. If not then I'll commit writing without any escaping for now. |
I didn't explicitly add any escaping, and I'm guessing RustyXML did not as well, so I think it's safe to assume escaping was not implemented. |
I took a look at the RustyXML source and it doesn't do any escaping. |