From br|@n @end|ng |rom br@verock@com  Fri Jun 28 12:44:45 2019
From: br|@n @end|ng |rom br@verock@com (Brian G. Peterson)
Date: Fri, 28 Jun 2019 05:44:45 -0500
Subject: [Rd] R-Forge > GitHub?
In-Reply-To: <06a9569b-5b68-a288-8c4f-1537120a5213@prodsyse.com>
References: <71f66de5-e1aa-5649-b07a-6cf79f9b07bc@prodsyse.com>
 <cb4218b1-7fcc-80cb-18ab-361b93a3177e@prodsyse.com>
 <8d6c6dd4-d231-ecc7-c584-6e08f93a81e5@gmail.com>
 <89645BC9-C6BF-4E57-8AA0-9F426BA8AC5E@rstudio.com>
 <CA+rDMK+HXUKnA0j49czOf99M62QBfnyO36Sf1MBEe8a5AO-+XA@mail.gmail.com>
 <06a9569b-5b68-a288-8c4f-1537120a5213@prodsyse.com>
Message-ID: <49fd0379-9f0c-da7d-be0b-a93a46b7efa2@braverock.com>

Spencer, on your point 3. below, we took a different path in migrating 
several packages.

After we migrated to github as the new master copy, we made new commits 
to the now orphaned R-Forge copies to include a new .onAttach function 
as so:

.onAttach <- function(libname, pkgname) {
   repo <- "https://github.com/sbgraves237/Ecdat  <https://github.com/braverock/quantstrat>"
   packageStartupMessage(
     "WARNING: this package was installed from R-Forge, but development has\n",
     "moved to GitHub. Please re-install the package using the GitHub repo at:\n",
     repo, ".")
}



And to update the README in the main pkg/ dir on R-Forge.

So all the old references in talks, papers, StackOverflow, whatever will 
point to the R-Forge version, but the R-Forge version will point anyone 
to github.

Regards,

Brian

On 6/28/19 12:00 AM, Spencer Graves wrote:
> Hi, Henrik Singmann et al.:
>
>
>   ????? Thanks for the suggestions.? I tried again to pull
> "https://github.com/sbgraves237/Ecdat" from R-Forge, with the same
> "Error 500" as before.? Then I tried pulling from
> "https://github.com/rforge/ecdat", which seemed to work ... AND the copy
> I pulled was at the latest revisions I had posted to R-Forge (520), so
> that makes it easier going forward.
>
>
>   ????? What do you suggest I do next?? I'm thinking of the following:
>
>
>   ??? ??????? 1.? Clone a copy of "https://github.com/sbgraves237/Ecdat"
> to my local computer and confirm that it works.
>
>
>   ??? ??????? 2.? Modify "https://r-forge.r-project.org/projects/ecdat/"
> to make me the only remaining project member, if I can.
>
>
>   ??? ??????? 3.? Contact GitHub support and ask them if they can delete
> "https://github.com/rforge/ecdat", because it is an orphan with 0
> contributors, and anyone who might want it should be referred to
> "https://github.com/sbgraves237/Ecdat".
>
>
>   ???? ??????? 4.? Email all the previous project members on
> "https://r-forge.r-project.org/projects/ecdat/" to tell them what I've
> done, in case they want to do anything more with this in the future.
>
>
>   ????? I believe I know how to do 1, 2, and 4, and I can probably figure
> out 3.? However, before I start on this, I felt a need to thank everyone
> who contributed to this thread and invite comments, especially if
> someone thinks I might be better off doing something different.
>
>
>   ????? Spencer Graves
>
>
> On 2019-06-26 16:34, Henrik Singmann wrote:
>> Whereas it is true that one has to contact GitHub to detach a GitHub
>> repository, it really is no problem (or at least was no problem in
>> 2016). I wanted to do so when I took over the maintainer role of
>> LaplacesDemon which only remained on GitHub as a fork on some other
>> person's private account. So I forked and then contacted
>> GitHub?support?and simply asked them to remove the "forked form"
>> reference on my new repository.?They then quickly detached my
>> repository.?As you can see, the "forked from" is gone:
>> https://github.com/LaplacesDemonR/LaplacesDemon
>>
>> In their response to my request they used the phrasing "Fork is
>> detached." which suggests that this is their preferred term for this
>> step.
>>
>> Best,
>> Henrik
>>
>>
>>
>> Am Mi., 26. Juni 2019 um 16:38?Uhr schrieb Lionel Henry
>> <lionel at rstudio.com <mailto:lionel at rstudio.com>>:
>>
>>
>>      > On 26 Jun 2019, at 17:25, Duncan Murdoch
>>      <murdoch.duncan at gmail.com <mailto:murdoch.duncan at gmail.com>> wrote:
>>      >
>>      > R-Forge is mirrored on Github; see
>>      https://github.com/rforge/ecdat, for example.? That shows 418
>>      commits in its history; presumably that's the full R-forge
>>      history.? I think that's newer than Michael Friendly's gist.
>>      >
>>      > So I suspect (but haven't tried to do this) that migration now
>>      is as simple as doing a Github fork to your own Github account,
>>      and then basically forgetting about the R-forge stuff, or deleting
>>      it (and I don't know how to do that).
>>
>>      I think it's better to avoid the Fork button in this case, because
>>      forks are
>>      treated specially in the Github UI. In this case you'll want your
>>      repo to
>>      appear as a main repo, and not a fork. AFAIK the only way to
>>      unfork a repo
>>      is to ask the Github staff to do it.
>>
>>      So instead of forking, use the "+" button on github.com
>>      <http://github.com> and select
>>      "Import a repository". This supports both git and svn repos.
>>
>>      Best,
>>      Lionel
>>      ______________________________________________
>>      R-devel at r-project.org <mailto:R-devel at r-project.org> mailing list
>>      https://stat.ethz.ch/mailman/listinfo/r-devel
>>
>>
>>
>> -- 
>> Dr. Henrik Singmann
>> Assistant Professor, Department of Psychology
>> University of Warwick, UK
>> http://singmann.org
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel


-- 
Brian G. Peterson
http://braverock.com/brian/
Ph: 773-459-4973
IM: bgpbraverock


	[[alternative HTML version deleted]]



[Rd] R-Forge > GitHub?
Brian G. Peterson