Scribusoid

Author Topic: Using Scribus with git  (Read 658 times)

apastuszak

  • Jr. Member
  • **
  • Posts: 55
  • Karma: 0
Using Scribus with git
« on: February 10, 2017, 04:26:27 am »
Hello everyone!

I have begun to use Scribus with git and specifically Github to track changes and so far it has worked well.  But I have a few questions about the best way to proceed with what I am doing.

I am using Scribus to design a stamp album for Ukrainian stamps that I have licensed under Creative Commons and give away for free on my website:

http://www.stamphacks.com

I set up Github for the first time with the 2015 stamp album supplement and all was well.  But I am trying to figure out how to proceed with other supplements.  My first thought was to make a new branch for each year.  But the changes I make are not cumulative.  Each year is unique, so there is no need to roll back or sync branches.  I'm wondering if doing branches is the best approach, or if it might be better to create a separate repository for each year.

I don't have a lot of github experience, so any help from more seasoned github experts would be most welcome.

GarryP

  • Hero Member
  • *****
  • Posts: 1408
  • Karma: 21
  • Scribus User
Re: Using Scribus with git
« Reply #1 on: February 10, 2017, 04:05:16 pm »
Have you looked at this https://wiki.scribus.net/canvas/How_to_use_GitHub_for_Version_Control_with_Scribus

I'm not a Git/GitHub expert but, personally, I'd probably just create a new folder for each year, each sharing the same images folder at the same level, e.g. Images/2015/2016/2017, etc. Otherwise, if you created a new repository, you would have to copy the stamp images over for each new repo.

This is just off the top of my head so there might be a much better way to do it.

apastuszak

  • Jr. Member
  • **
  • Posts: 55
  • Karma: 0
Re: Using Scribus with git
« Reply #2 on: February 10, 2017, 05:02:29 pm »
I did read that page.  That's what got me inspired in the first place.  One of the things I like about Git and Github is tagging releases.  I can't find a good way to do that while maintaining separate year folders, and only releasing a certain folder.  I'm thinking I may be able to maintain my whole thing in master and create branches for specific years when they're done and do releases that way.  Need to do more research.

a.l.e

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1296
  • Karma: 19
    • the graphics lab
Re: Using Scribus with git
« Reply #3 on: February 11, 2017, 11:49:39 am »
i have most of my scribus documents on github.

but i just use it as a sharing and backup tool.

creating branches and tags is probably not that useful, since you cannot really compare two versions of a .sla file.

in your case, i would also go for multiple directory in the same repository... or multiple repositories...

apastuszak

  • Jr. Member
  • **
  • Posts: 55
  • Karma: 0
Re: Using Scribus with git
« Reply #4 on: February 12, 2017, 01:12:37 am »
I think what I might do is keep it all in master.  The I just make a branch for the specific year, remove all the files expect that year, and generate a release from that.