Up-to-date Government Snap

For topics that do not fit in another sub-forum.

Moderators: Oberlus, Oberlus

Post Reply
Message
Author
Ophiuchus
Programmer
Posts: 870
Joined: Tue Sep 30, 2014 10:01 am
Location: Wall IV

Up-to-date Government Snap

#1 Post by Ophiuchus » Tue Jan 15, 2019 3:48 pm

As a preview of the policy feature I provide a build (~160MB) of the current Government branch PR #2045 on which Geoff is working as snap published on snapcraft.io

Feature discussion in Policy Cards Jumble. Please consider the implementation in your suggestions/feedback.

Install via root/sudo:

Code: Select all

snap install --channel=edge/Government freeorion
Run via

Code: Select all

snap run freeorion.freeorion
Update if a new version comes out or switch to this build:

Code: Select all

snap refresh --channel=edge/Government freeorion
Remove if you want to free the space:

Code: Select all

snap remove freeorion
Snapcraft.io and snap do not show branches. You can see version info by using snapcraft (The classic flag maybe is not necessary for only querying the snapcraft.io store.)

Code: Select all

snapcraft status freeorion
Note you need to install snapcraft for that, e.g.

Code: Select all

snap install snapcraft --classic
I will push builds which i tried (smoke tested) to channel beta/Government not more than once weekly (probably mondays or tuesdays).

I will push builds more recent (maybe untried) builds to channel edge/Government at unpredictable times.

Note: As I am still new to snapcraft this info may change. E.g. I am working on claiming the freeorion channel for the project (PR #2331. Also the current build will automatically expire on 2019-02-14. I will update this topic accordingly.

edit1: edge/government -> edge/Government
edit2: added info about beta/Government and release policy
edit3: switched to freeorion from freeorion-agrrr3
edit4: added snapcraft info
Last edited by Ophiuchus on Wed Feb 06, 2019 9:06 am, edited 5 times in total.
Any code or patches in anything posted here is released under the CC and GPL licences in use for the FO project.

Furthermore, I propse... we should default to four combat rounds instead of three ...for the good of playerkind.

User avatar
Oberlus
Cosmic Dragon
Posts: 1287
Joined: Mon Apr 10, 2017 4:25 pm

Re: Up-to-date Government Snap

#2 Post by Oberlus » Tue Jan 15, 2019 5:16 pm

This is great, Ophiuchus.

I ran into trouble from the very beginning:

Code: Select all

U16:~$ snap install --channel=edge/government freeorion-agrrr3
error: requested a non-existing branch on latest/edge for snap
       "freeorion-agrrr3": government
Advice?

Ophiuchus
Programmer
Posts: 870
Joined: Tue Sep 30, 2014 10:01 am
Location: Wall IV

Re: Up-to-date Government Snap

#3 Post by Ophiuchus » Tue Jan 15, 2019 8:46 pm

Oberlus wrote:
Tue Jan 15, 2019 5:16 pm

Code: Select all

U16:~$ snap install --channel=edge/government freeorion-agrrr3
error: requested a non-existing branch on latest/edge for snap
       "freeorion-agrrr3": government
Advice?
If you want to copy something, use your systems clipboard instead of copying it manually and introduce typos

it is edge/Government instead of edge/government
Any code or patches in anything posted here is released under the CC and GPL licences in use for the FO project.

Furthermore, I propse... we should default to four combat rounds instead of three ...for the good of playerkind.

User avatar
Oberlus
Cosmic Dragon
Posts: 1287
Joined: Mon Apr 10, 2017 4:25 pm

Re: Up-to-date Government Snap

#4 Post by Oberlus » Wed Jan 16, 2019 6:48 am

Doh! And I did double-check it before asking but that capital G was invisible to me :oops:

Ophiuchus
Programmer
Posts: 870
Joined: Tue Sep 30, 2014 10:01 am
Location: Wall IV

Re: Up-to-date Government Snap

#5 Post by Ophiuchus » Wed Jan 16, 2019 8:38 am

Oberlus wrote:
Wed Jan 16, 2019 6:48 am
Doh! And I did double-check it before asking but that capital G was invisible to me :oops:
Sorry, I should have been clearer: the typo was mine ;)

So I should have heeded the advice before posting :P
Any code or patches in anything posted here is released under the CC and GPL licences in use for the FO project.

Furthermore, I propse... we should default to four combat rounds instead of three ...for the good of playerkind.

User avatar
Oberlus
Cosmic Dragon
Posts: 1287
Joined: Mon Apr 10, 2017 4:25 pm

Re: Up-to-date Government Snap

#6 Post by Oberlus » Thu Jan 17, 2019 8:40 am

It works like a charm (I'm Ubuntu 16.04). Being able to try this branch without needing to do git stuff is really nice.

Ophiuchus
Programmer
Posts: 870
Joined: Tue Sep 30, 2014 10:01 am
Location: Wall IV

Re: Up-to-date Government Snap

#7 Post by Ophiuchus » Sat Feb 02, 2019 2:51 pm

Updated and moved to "official" freeorion snap from my personal freeorion-agrrr3.

Current versions:

edge/Government 2019-02-01.89c4b52.gov (rel 7)
beta/Government 2019-02-01.89c4b52.gov (rel 7)

I think there are only changes which are not visible to the user.
Any code or patches in anything posted here is released under the CC and GPL licences in use for the FO project.

Furthermore, I propse... we should default to four combat rounds instead of three ...for the good of playerkind.

Ophiuchus
Programmer
Posts: 870
Joined: Tue Sep 30, 2014 10:01 am
Location: Wall IV

Re: Up-to-date Government Snap

#8 Post by Ophiuchus » Sun Jul 07, 2019 1:57 pm

Just released a current build of the Government branch

Code: Select all

channel=edge/Government   2019-07-05.43f36b3.gov    rev=36
Any code or patches in anything posted here is released under the CC and GPL licences in use for the FO project.

Furthermore, I propse... we should default to four combat rounds instead of three ...for the good of playerkind.

Post Reply