Announcement

  •  » Engine
  •  » Switching to Git / GitHub?

#31 2014-11-19 20:13:36

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3277

Re: Switching to Git / GitHub?

plg and I wrote two guides about it
http://piwigo.org/doc/doku.php?id=dev:e … _to_github
http://piwigo.org/doc/doku.php?id=dev:e … ns:use_scm

(it will of course be in a more global newsletter)

for "fun" I made a NodeJS script which migrates several plugins at once to my account
https://gist.github.com/mistic100/017a848ff619f0624dde

Offline

 

#32 2014-11-19 21:11:11

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13791

Re: Switching to Git / GitHub?

mistic100 wrote:

[...] the main plugins (maintained by the team) [...]

We have been discussing with mistic about that. mistic moved his plugin to his Github account, and I moved PWG_Stuffs to the Piwigo organization, because it is more a plugin that I now maintain but I'm not the original author (just like PayPal plugin for example). I don't know yet what I'm going to do for plugins that I have created and keep maintaining, such as Community.

What mistic has found, is that it's easy to change the owner of a repository, so if one day I don't want to maintain Community anymore (no panic readers, it's not on my roadmap ;-) I can easily change the owner to Piwigo Organization or someone else.

Offline

 

#33 2014-11-21 16:54:53

rvelices
Former Piwigo Team
2005-12-29
1960

Re: Switching to Git / GitHub?

I tried 2 times to import modus from piwigo svn to github using the github web importer. It gets stucked toward 68%.
Using svn2git on windows with ruby is another solution but installs appear cumbersome on windows.
Is it possible that someone from the team with svn2git make the import and then send me a dropbox link/email with the zipped git local repo ?

Thanks

Offline

 

#34 2014-11-21 16:58:50

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3277

Re: Switching to Git / GitHub?

what is github web importer ? did you tried my guide ? only java is required (and of course svn and git)

Offline

 

#35 2014-11-21 17:20:19

nicolas
Former Piwigo Team
2004-12-30
1232

Re: Switching to Git / GitHub?

I don't exactly know what the migration script do but if you only need to get the authors list, you can do it from the git repository, after the conversion.

Code:

git log --all --format='%aN = <%cE>' | sort -u

Offline

 

#36 2014-11-21 18:29:44

rvelices
Former Piwigo Team
2005-12-29
1960

Re: Switching to Git / GitHub?

mistic100 wrote:

what is github web importer ?

https://import.github.com/new

mistic100 wrote:

did you tried my guide ? only java is required (and of course svn and git)

Yes but I get:

Code:

*** unable to remap C:\Program Files (x86)\Freeware\Git\1.9.4\bin\libsvn_repos-1-0.dll to same address as parent -- 0xE90000
76233986 [main] perl.exe" 4956 sync_with_child: child 6496(0x254) died before in itialization with status code 0x1

I'll probably just push without history - not important for those plugins anyway ...

Offline

 

#37 2014-11-21 21:10:32

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13791

Re: Switching to Git / GitHub?

rvelices, I know you're not a "command line" guy ;-) Let me or mistic give you some help for the conversion. I contact you by email.

Offline

 

#38 2015-01-17 12:58:34

xbgmsharp
Member
1970-01-01
215

Re: Switching to Git / GitHub?

mistic100 wrote:

xbgmsharp wrote:

Can we have an option to specify a tag.

Did you try to put the tag name in the "branch" field ? as the URL are identical for tags and branches it should work

I try to publish a new version using the tags in branch field.
The following error appear,  " An error occured during SVN/Git export. "

I guess i will have to release it the old way.

If I use master for the branch, Will it always download the latest version?

Also i figure I can not post image because it exceed the dimension? It is a simple screenshot of my screen!!

Last edited by xbgmsharp (2015-01-17 13:00:56)

Offline

 

#39 2015-01-17 13:07:32

nicolas
Former Piwigo Team
2004-12-30
1232

Re: Switching to Git / GitHub?

You don't have a 2.7.c branch on your repository !

I think  you can ommit branch and PEM will clone master branch with last revision.

Offline

 

#40 2015-01-17 13:09:45

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3277

Re: Switching to Git / GitHub?

nicolas wrote:

You don't have a 2.7.c branch on your repository !

I meant "tag" ?

--

didn't you forgot to push the tags ?

Offline

 

#41 2015-01-17 13:13:49

xbgmsharp
Member
1970-01-01
215

Re: Switching to Git / GitHub?

I did push the tags.I always make a github release first
https://github.com/xbgmsharp/piwigo-ope … ree/v2.7.c
https://github.com/xbgmsharp/piwigo-ope … p/releases

I did retry just in case, and i still have the same error.

Offline

 

#42 2015-01-17 13:14:39

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3277

Re: Switching to Git / GitHub?

It was not visible 5 minutes ago :)

Offline

 

#43 2015-01-17 13:15:55

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3277

Re: Switching to Git / GitHub?

well sorry you'll have to stick to branches or just master

Offline

 

#44 2015-01-17 18:23:19

nicolas
Former Piwigo Team
2004-12-30
1232

Re: Switching to Git / GitHub?

mistic100 wrote:

nicolas wrote:

You don't have a 2.7.c branch on your repository !

I meant "tag" ?

--

didn't you forgot to push the tags ?

I read the code and PEM search for a branch 2.7.c, not a tag !

Offline

 

#45 2015-07-21 16:41:07

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13791

Re: Switching to Git / GitHub?

We are now entering the "active" stage of moving Piwigo core to Github. Stay tuned :-)

Offline

 
  •  » Engine
  •  » Switching to Git / GitHub?

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact