Up-to-date Government Snap

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

Moderator: Oberlus

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

Up-to-date Government Snap

#1 Post by Ophiuchus »

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.

Look, ma... four combat bouts!

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

Re: Up-to-date Government Snap

#2 Post by Oberlus »

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: 3433
Joined: Tue Sep 30, 2014 10:01 am
Location: Wall IV

Re: Up-to-date Government Snap

#3 Post by Ophiuchus »

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.

Look, ma... four combat bouts!

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

Re: Up-to-date Government Snap

#4 Post by Oberlus »

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

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

Re: Up-to-date Government Snap

#5 Post by Ophiuchus »

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.

Look, ma... four combat bouts!

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

Re: Up-to-date Government Snap

#6 Post by Oberlus »

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: 3433
Joined: Tue Sep 30, 2014 10:01 am
Location: Wall IV

Re: Up-to-date Government Snap

#7 Post by Ophiuchus »

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.

Look, ma... four combat bouts!

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

Re: Up-to-date Government Snap

#8 Post by Ophiuchus »

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.

Look, ma... four combat bouts!

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

Re: Up-to-date Government Snap

#9 Post by Ophiuchus »

Just released a current build of the Government branch

News:
  • python interface work
  • checks and fallbacks for slot conflicts and policies in unavailable slots
  • tracking how long policies have been adopted
  • rebase on master branch

Code: Select all

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

Look, ma... four combat bouts!

Post Reply