digitalmars.D - Continuous integration testing with travis and drone
- Pavel Evstigneev (38/38) Jul 15 2014 I want to share how I made testing for some open source project.
- Pavel Evstigneev (1/1) Jul 15 2014 May I improve forum to support markdown?
- Kapps (6/7) Jul 15 2014 The forum is actually an interface to a newsgroup, so most forms
- Joakim (17/24) Jul 16 2014 Sigh, this always struck me as a problem with the current
- w0rp (3/28) Jul 16 2014 As a fan of Markdown, I'd advise against using it for the forums.
- Puming (12/19) Jul 16 2014 Yes, but if used cautiously, [markdown][1] will not hinder the
- Pavel (11/18) Jul 16 2014 Well, we can serve html in newsgroup/emails, or as plain text
- Joakim (11/31) Jul 16 2014 I suggest you put together a minimal pull request for DFeed
- Dicebot (3/10) Jul 16 2014 I see no problem with markdown in this context - it is
- Kai Nacke (8/12) Jul 16 2014 Hi Pavel!
I want to share how I made testing for some open source project. I try with http://travis-ci.org and http://drone.io **For drone.io:** * Add project * Choose C/C++ as language * Add build command which will install D compiler and run tests. Command: ``` sudo wget http://netcologne.dl.sourceforge.net/project/d-apt/files/d-apt.list -O /etc/apt/sources.list.d/d-apt.list sudo apt-get update -qq sudo apt-get -y --allow-unauthenticated install --reinstall d-apt-keyring sudo apt-get update -qq sudo apt-get install dmd-bin dub MYSQL_USER="root" MYSQL_PASSWORD="" dub test ``` **For travis ci:** Create file .travis.yml ``` language: c compiler: - gcc before_install: - sudo wget http://netcologne.dl.sourceforge.net/project/d-apt/files/d-apt.list -O /etc/apt/sources.list.d/d-apt.list - sudo apt-get update -qq - sudo apt-get -y --allow-unauthenticated install --reinstall d-apt-keyring - sudo apt-get update -qq - sudo apt-get install dmd-bin dub env: - MYSQL_USER="root" MYSQL_PASSWORD="" script: dub test ``` Here is project I tested https://github.com/Paxa/mysql.d
Jul 15 2014
May I improve forum to support markdown?
Jul 15 2014
On Wednesday, 16 July 2014 at 03:31:13 UTC, Pavel Evstigneev wrote:May I improve forum to support markdown?The forum is actually an interface to a newsgroup, so most forms of markdown would not be supported in the interest of having a consistent UI for people who use mail / newsgroup clients vs people who use the online web interface.
Jul 15 2014
On Wednesday, 16 July 2014 at 04:11:28 UTC, Kapps wrote:On Wednesday, 16 July 2014 at 03:31:13 UTC, Pavel Evstigneev wrote:Sigh, this always struck me as a problem with the current multi-mode setup, hobbling the forum to the lowest-common denominator capabilities of the older newsgroup/mail readers. Markdown is meant to be readable as a markup language, so maybe it can be supported by the DFeed forum alone: http://daringfireball.net/projects/markdown/syntax If another, more capable but less readable markup is wanted, another possibility I just thought of is to only accept markup from the web interface and then to have DFeed convert the markup into something readable in plain text when sending to the newgroup/mailing list, ie DFeed keeps its own slightly different version of any particular post. If Pavel or whoever puts in markdown support in DFeed, which is perfectly readable on its own, or does some sort of conversion of markup for the newsgroup/mail, are there any objections to sending straight markdown or this conversion workaround?May I improve forum to support markdown?The forum is actually an interface to a newsgroup, so most forms of markdown would not be supported in the interest of having a consistent UI for people who use mail / newsgroup clients vs people who use the online web interface.
Jul 16 2014
On Wednesday, 16 July 2014 at 11:25:25 UTC, Joakim wrote:On Wednesday, 16 July 2014 at 04:11:28 UTC, Kapps wrote:As a fan of Markdown, I'd advise against using it for the forums. Many important posters use email instead.On Wednesday, 16 July 2014 at 03:31:13 UTC, Pavel Evstigneev wrote:Sigh, this always struck me as a problem with the current multi-mode setup, hobbling the forum to the lowest-common denominator capabilities of the older newsgroup/mail readers. Markdown is meant to be readable as a markup language, so maybe it can be supported by the DFeed forum alone: http://daringfireball.net/projects/markdown/syntax If another, more capable but less readable markup is wanted, another possibility I just thought of is to only accept markup from the web interface and then to have DFeed convert the markup into something readable in plain text when sending to the newgroup/mailing list, ie DFeed keeps its own slightly different version of any particular post. If Pavel or whoever puts in markdown support in DFeed, which is perfectly readable on its own, or does some sort of conversion of markup for the newsgroup/mail, are there any objections to sending straight markdown or this conversion workaround?May I improve forum to support markdown?The forum is actually an interface to a newsgroup, so most forms of markdown would not be supported in the interest of having a consistent UI for people who use mail / newsgroup clients vs people who use the online web interface.
Jul 16 2014
On Wednesday, 16 July 2014 at 04:11:28 UTC, Kapps wrote:On Wednesday, 16 July 2014 at 03:31:13 UTC, Pavel Evstigneev wrote:Yes, but if used cautiously, [markdown][1] will not hinder the *readability* as a **plain text**. especially when there are code blocks: ```d void main() { writeln("Please colorize me with Javascript if this message is sent to web interface."); } ``` [1]: http://daringfireball.net/projects/markdown/May I improve forum to support markdown?The forum is actually an interface to a newsgroup, so most forms of markdown would not be supported in the interest of having a consistent UI for people who use mail / newsgroup clients vs people who use the online web interface.
Jul 16 2014
On Wednesday, 16 July 2014 at 04:11:28 UTC, Kapps wrote:On Wednesday, 16 July 2014 at 03:31:13 UTC, Pavel Evstigneev wrote:Well, we can serve html in newsgroup/emails, or as plain text with striped markdown's markup For example user writes "hello, **people**", on online interface its "hello, <strong>people</strong>", in plain text format (for people who dislike html) it's: "hello, people". I don'y think we should give markdown as plain text, or we should limit features, for example only titles, code blocks, horisontal line, links. Everything is still same, but code snippets and links looks nice on web ui. How you think?May I improve forum to support markdown?The forum is actually an interface to a newsgroup, so most forms of markdown would not be supported in the interest of having a consistent UI for people who use mail / newsgroup clients vs people who use the online web interface.
Jul 16 2014
On Wednesday, 16 July 2014 at 13:49:29 UTC, Pavel wrote:On Wednesday, 16 July 2014 at 04:11:28 UTC, Kapps wrote:I suggest you put together a minimal pull request for DFeed (https://github.com/CyberShadow/DFeed), maybe a patch that just handles one or two markup tokens, then open another forum thread here asking if there are any objections, as many people likely won't see this thread because of the unrelated title. If that's too much effort, at least open another thread without the pull request. I don't think there's anything wrong with sending markdown as plain text to the newsgroup and email lists, as it's meant to be readable.On Wednesday, 16 July 2014 at 03:31:13 UTC, Pavel Evstigneev wrote:Well, we can serve html in newsgroup/emails, or as plain text with striped markdown's markup For example user writes "hello, **people**", on online interface its "hello, <strong>people</strong>", in plain text format (for people who dislike html) it's: "hello, people". I don'y think we should give markdown as plain text, or we should limit features, for example only titles, code blocks, horisontal line, links. Everything is still same, but code snippets and links looks nice on web ui. How you think?May I improve forum to support markdown?The forum is actually an interface to a newsgroup, so most forms of markdown would not be supported in the interest of having a consistent UI for people who use mail / newsgroup clients vs people who use the online web interface.
Jul 16 2014
On Wednesday, 16 July 2014 at 04:11:28 UTC, Kapps wrote:On Wednesday, 16 July 2014 at 03:31:13 UTC, Pavel Evstigneev wrote:I see no problem with markdown in this context - it is specifically designed to be very readable as raw source.May I improve forum to support markdown?The forum is actually an interface to a newsgroup, so most forms of markdown would not be supported in the interest of having a consistent UI for people who use mail / newsgroup clients vs people who use the online web interface.
Jul 16 2014
Hi Pavel! On Wednesday, 16 July 2014 at 03:30:18 UTC, Pavel Evstigneev wrote:I want to share how I made testing for some open source project. I try with http://travis-ci.org and http://drone.io [...] **For travis ci:**A more complex example for travis can be found in the LDC repository: https://github.com/ldc-developers/ldc/blob/master/.travis.yml Regards, Kai
Jul 16 2014