GitHub + version.nfo example : hi_updatecheck

Discussions and requests related to new CMSimple features, plugins, templates etc. and how to develop.
Please don't ask for support at this forums!
Post Reply
utaka
Posts: 52
Joined: Fri Sep 18, 2015 6:00 am
Location: japanese
Contact:

GitHub + version.nfo example : hi_updatecheck

Post by utaka » Tue May 24, 2016 7:22 am

I'm worried about the version.nfo destination/ location at github.
Resolved..Write a sample

Download_Url :
https://github.com/[your-name]/[plugin-name]/releases

or
http://[your-name].github.io/

Url_to_remote_nfo:
http://[your-name].github.io/[plugin-name]/version.nfo
* *version.nfo file of location(="Url_to_remote_nfo") is
http://[your-name].github.io/[plugin-name]/version.nfo


If you do not have a [your-name].github.io , Let's Get GitHub Page.
[ external image ]

[ external image ]

[ external image ]

Quick Make Top page : http://[your-name].github.io/index.html
[ external image ]
[ external image ]
hi_updatecheck/help/help.htm
*version.nfo file
The version.nfo is just a csv-file with exactly the following seven entries in one line:
Plugin_Name,Version,Readable_Version,Critical?,Additional_Infos,Download_Url,Url_to_remote_nfo
** hi_updatecheck Ver1.4 : 2016-01-10 support for https protocol.Thanks Holger!
******************************************************
Japan Site http://cmsimple-jp.org
Twitter Googe+ github
*I English is not a good . I'm sorry...
*Ich habe nicht eine gut Deutsch. Es tut mir leid ...
*Jeg kender ikke dansk
--Powered by Google Translate-----

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: GitHub + version.nfo example : hi_updatecheck

Post by cmb » Tue May 24, 2016 12:27 pm

Thanks for this information!

I wonder, though, if it is possible to use https://raw.githubusercontent.com/ alternatively, e.g. https://raw.githubusercontent.com/bbfri ... ersion.nfo (perhaps not using the master branch, but rather a dedicated branch).
Christoph M. Becker – Plugins for CMSimple_XH

utaka
Posts: 52
Joined: Fri Sep 18, 2015 6:00 am
Location: japanese
Contact:

Re: GitHub + version.nfo example : hi_updatecheck

Post by utaka » Wed Jun 01, 2016 8:59 am

Hi!cmb. ;)

"Https://raw.***" is hard to say that the stable(latest release) version.

I think. "Release version" = Url_to_remote_nfo of version.nfo

Developers, to commit a lot of master,after release.
In the middle of a development,there is also a possibility that the user would download the master.zip  :|


Of course, it depends on how the update (release) ,and self-responsibility of the user.

*You found elfinder_xh,before announcement. haha.. :shock:
******************************************************
Japan Site http://cmsimple-jp.org
Twitter Googe+ github
*I English is not a good . I'm sorry...
*Ich habe nicht eine gut Deutsch. Es tut mir leid ...
*Jeg kender ikke dansk
--Powered by Google Translate-----

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: GitHub + version.nfo example : hi_updatecheck

Post by cmb » Wed Jun 01, 2016 11:09 am

Hi!
utaka wrote:"Https://raw.***" is hard to say that the stable(latest release) version.
Hmm, indeed you probably would have to work with release branches, so perhaps that's not the best idea, and using github.io is a more generally applicable solution.
utaka wrote:*You found elfinder_xh,before announcement. haha.. :shock:
Not really, see http://cmsimpleforum.com/viewtopic.php?f=12&t=10524. :)
Christoph M. Becker – Plugins for CMSimple_XH

Post Reply