Periodic releases are over

Development-related discussion, including bundled plugins
User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Periodic releases are over

Postby fox » 27 Jan 2015, 13:47

TLDR: tt-rss now uses rolling release model based on git master branch. There will be no more numbered releases, use git instead.

I'm not really seeing any point in continuing to make arbitrary trunk snapshots aka "releases" once every few months, so I suggest everyone switch to Git already. This way you don't stay with broken af_comics or whatever other plugin for literal months if some stupid site suddenly changes its
layout.

e: Not sure about this yet: I'm going to deprecate and remove .zip updating components and from now on assume that everyone is on Git. If that's too hard for you, download .tar.gz snapshots yourself on Github.

e2: in case this wasn't obvious the development will continue as usual it's just that there won't be any new tarballs

User avatar
blainemono
Gaping Anus of Eternity
Gaping Anus of Eternity
Posts: 246
Joined: 05 Jun 2009, 18:13

Re: Periodic releases are over

Postby blainemono » 27 Jan 2015, 14:49

This is a slap in the face for all loyal users, I for one won't stand idly while a travesty like this happens.

I'll rather sit.

Aldursil
Bear Rating Master
Bear Rating Master
Posts: 106
Joined: 18 Mar 2013, 03:11

Re: Periodic releases are over

Postby Aldursil » 30 Jan 2015, 05:20

Does this mean the updating from within TT-RSS will not work anymore?

I assume it does but wanted to be sure.

tagno25
Bear Rating Trainee
Bear Rating Trainee
Posts: 7
Joined: 23 Mar 2013, 17:31

Re: Periodic releases are over

Postby tagno25 » 30 Jan 2015, 06:40

Would you be willing to make the update function inside TT-RSS to check for new git updates, and be able to do a git pull?

JustAMacUser
Bear Rating Overlord
Bear Rating Overlord
Posts: 373
Joined: 20 Aug 2013, 23:13

Re: Periodic releases are over

Postby JustAMacUser » 30 Jan 2015, 07:44

Git is really easy. To install

Code: Select all

git clone https://github.com/gothfox/Tiny-Tiny-RSS tt-rss


To update:

Code: Select all

git pull


Depending on your setup you may need to update the permissions, etc. But otherwise it's really that easy.

trammel
Bear Rating Trainee
Bear Rating Trainee
Posts: 7
Joined: 30 Jan 2015, 08:47

Re: Periodic releases are over

Postby trammel » 30 Jan 2015, 08:49

fox wrote:I'm not really seeing any point in continuing to make arbitrary trunk snapshots aka "releases" once every few months, so I suggest everyone switch to Git already. This way you don't stay with broken af_comics or whatever other plugin for literal months if some stupid site suddenly changes its layout.

e: Not sure about this yet: I'm going to deprecate and remove .zip updating components and from now on assume that everyone is on Git. If that's too hard for you, download .tar.gz snapshots yourself on Github.


I've been running off git master for a year or more, with a daily cron job to backup the database, then do a git-pull.

Zero issues, never had to restore the database. It's a very stable codebase.

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Periodic releases are over

Postby fox » 30 Jan 2015, 09:28

Like I said, I'm not removing the tag-based tarball updater yet, but I don't plan on tagging any new releases in the foreseeable future so it won't do anything.

Maybe the compromise solution would be automatically tagging every week so that it would still work.

reibuehl
Bear Rating Trainee
Bear Rating Trainee
Posts: 25
Joined: 17 May 2013, 19:37

Re: Periodic releases are over

Postby reibuehl » 30 Jan 2015, 11:01

What is the best way to switch from the updater module to git based updating? Is it sufficient to rename the old directory, do the git pull and then copy the old config.php into the new directory? Or are there other steps needed?

User avatar
HeikoAdams
Bear Rating Master
Bear Rating Master
Posts: 101
Joined: 19 Mar 2013, 00:17

Re: Periodic releases are over

Postby HeikoAdams » 30 Jan 2015, 11:15

Sounds like rolling release modell.

If I'm right, maybe you should think about switching version-number-scheme to something like yyyymmdd.

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Periodic releases are over

Postby fox » 30 Jan 2015, 11:28

ye this makes sense

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Periodic releases are over

Postby fox » 30 Jan 2015, 11:31

reibuehl wrote:What is the best way to switch from the updater module to git based updating? Is it sufficient to rename the old directory, do the git pull and then copy the old config.php into the new directory? Or are there other steps needed?


not really but don't forget about custom plugins or themes if you got any

then its just git pull from then on

User avatar
Louie
Bear Rating Trainee
Bear Rating Trainee
Posts: 13
Joined: 26 Jun 2013, 18:14

Re: Periodic releases are over

Postby Louie » 30 Jan 2015, 15:21

fox wrote:
reibuehl wrote:What is the best way to switch from the updater module to git based updating? Is it sufficient to rename the old directory, do the git pull and then copy the old config.php into the new directory? Or are there other steps needed?


not really but don't forget about custom plugins or themes if you got any

then its just git pull from then on


Fox do you have a recommended frequency on doing a git pull? daily/weekly/monthly? Also, should access to the tt-rss server be restricted when updating the code?

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Periodic releases are over

Postby fox » 30 Jan 2015, 15:35

idk do it when you feel like it, it's rarely broken

>Also, should access to the tt-rss server be restricted when updating the code?

I wouldn't really bother with that either.

xtaz
Bear Rating Master
Bear Rating Master
Posts: 174
Joined: 24 Dec 2009, 16:48

Re: Periodic releases are over

Postby xtaz » 30 Jan 2015, 16:37

I've been pulling the latest git updates pretty much daily or so for a couple of years now. It's hugely easier to do than playing around with tarball releases. Things like the af_comics filters get fixed in a day or so instead of having to wait for months. The only time really I've ever had to do more work is when fox updated a lot of the fonts and font sizes in CSS which meant that I had to go and update my user CSS for the new changes. But using git it's actually easier than it would be from tarball cuz I can use things like git log and git show to see exactly what's been changed rather than having to guess.

I switched to a similar model with a lot of other stuff I have installed even though their master branches are not stable. Instead just checking out the specific release branch or tag and then changing the branch/tag when a new release comes out. Even doing that is easier than tarballs.

gbcox
Bear Rating Master
Bear Rating Master
Posts: 149
Joined: 25 Apr 2013, 04:52

Re: Periodic releases are over

Postby gbcox » 30 Jan 2015, 19:45

I created a series of scripts which automatically do quite a bit of things such as:

Apply git updates
Check for and handle config file changes
Check for schema changes
Do database backups and rotation

It's easy to setup, just clone it from the bitbucket git repo and follow the instructions. I've been using it for almost 2 years.

You can read about it here: http://tso.bzb.us/2013/06/ttrss-utils-fedora-tiny-tiny-rss.html
There is also an earlier forum post on it.


Return to “Development”

Who is online

Users browsing this forum: No registered users and 3 guests