Skip to content
This repository has been archived by the owner on Mar 10, 2023. It is now read-only.

Checklist for 1.0.0 release #29

Closed
olgabot opened this issue Nov 6, 2019 · 16 comments
Closed

Checklist for 1.0.0 release #29

olgabot opened this issue Nov 6, 2019 · 16 comments
Milestone

Comments

@olgabot
Copy link
Collaborator

olgabot commented Nov 6, 2019

@phoenixAja Looks like this is a good overview: https://nf-co.re/developers/adding_pipelines#making-the-first-release

@nf-core/core Are there any other expectations we should be aware of? e.g. is a MultiQC report expected?

@olgabot olgabot added this to the 1.0.0 !! milestone Nov 6, 2019
@phoenixAja
Copy link
Collaborator

@olgabot perfect thanks!

@apeltzer
Copy link
Member

apeltzer commented Nov 6, 2019

No, this is hopefully complete - if anything is unclear / missing in your opinion please comment here / ping core again 👍

@olgabot
Copy link
Collaborator Author

olgabot commented Nov 6, 2019

Thank you both!!

@ewels
Copy link
Member

ewels commented Nov 6, 2019

MultiQC reports are nice of course 😉 but no, they're not a requirement.

The link you posted is good, also take a look at https://nf-co.re/pipeline_health - it looks like you're missing the TEMPLATE branch which is needed for synchronisation.

Though, arg, looks like you didn't start with the template 🙈 (in 33f9442). So you'll need to manually set up synchronisation - see https://nf-co.re/developers/sync

@phoenixAja
Copy link
Collaborator

@ewels yes this is our main problem! Thanks for the link!

@ewels
Copy link
Member

ewels commented Nov 6, 2019

Depending on how much you care about commit / contributor history, the easiest way to do this is to just make a new pipeline from scratch and then copy + paste your new code in as a second commit. You can then force push to wipe everything in this repo. Very, very blunt as it essentially deletes everything. But it's the quickest way to get stuff working 😄

The alternative of manual syncing isn't too bad otherwise, and you get a lot of experience in how to deal with resolving merge conflicts! Just be careful with reviewing the final solution to make sure that you didn't miss anything / make any mistakes, as it's pretty easy to do so..

@phoenixAja
Copy link
Collaborator

that idea did cross my mind. I'll try manually adding first, thankfully I have git reflog in case mistakes are made.

@olgabot
Copy link
Collaborator Author

olgabot commented Nov 6, 2019

@phoenixAja if it's a total mess we should check with other contributors @pranathivemuri and @snafees if they're okay with blasting out the repo. I'm okay with it as it's relatively early and it's likely they'll have future changes as well. But if we want to preserve the previous ones then git reflog and cherry-pick it is!

@pranathivemuri
Copy link
Contributor

Outstanding PRs aside, it seems like the kmermaid repo has only 2 contributors, me and Olga currently! Ideally i would like to have the contributions I made in my name, but if that’s blocking a release, I wouldn’t mind if someone else copy pasted manually all the code. also, i think there is a number of places where czbiohub/nf-kmer-similarity exists instead of nf-core/kmermaid and the docker container iname should be changed/synced to this repo as well.

@phoenixAja
Copy link
Collaborator

that's a different issue to fix @pranathivemuri so i wont tackle the docker stuff in this branch. I guess the commit history is already messed up with this repo (all of the ska stuff i wrote got overwritten, so I'm no longer an author on this pipeline).

@phoenixAja
Copy link
Collaborator

@ewels i have the .git directory in addition to the following files, should i remove it before proceeding? It seems wrong to delete that, but it's not included in the list of dirs/files below. I just wanted to double check.

Untracked files:
  (use "git add <file>..." to include in what will be committed)

  .gitattributes
  .github/
  .gitignore
  .travis.yml
  CHANGELOG.md
  CODE_OF_CONDUCT.md
  Dockerfile
  LICENSE
  README.md
  assets/
  bin/
  conf/
  docs/
  environment.yml
  main.nf
  nextflow.config

@pranathivemuri
Copy link
Contributor

pranathivemuri commented Nov 6, 2019

@phoenixAja ska stuff isn't merged into master yet. it is still in a PR as far as I can see - https://github.com/nf-core/kmermaid/pull/19/files

The only ska stuff added in the nf-core are right now the dependencies in environment.yml files. we should review and merge/make a decision on outstanding PRs before we merge.

@phoenixAja
Copy link
Collaborator

still wierd that that got added to environment.yml.. Also yes of course we are definitely planning on reviewing before any PR is approved.

@phoenixAja
Copy link
Collaborator

@ewels i have the .git directory in addition to the following files, should i remove it before proceeding? It seems wrong to delete that, but it's not included in the list of dirs/files below. I just wanted to double check.

Untracked files:
  (use "git add <file>..." to include in what will be committed)

  .gitattributes
  .github/
  .gitignore
  .travis.yml
  CHANGELOG.md
  CODE_OF_CONDUCT.md
  Dockerfile
  LICENSE
  README.md
  assets/
  bin/
  conf/
  docs/
  environment.yml
  main.nf
  nextflow.config

definitely need to keep .git..

@ewels
Copy link
Member

ewels commented Nov 8, 2019

If you take the nuclear option, you need to start in a totally fresh empty new directory. Then run nf-core create. It will initialise a new git repository (including a new .git directory) as part of that process. It will set up the required branches and make initial commits with the blank template.

Once that is complete, you can take your existing pipeline code and copy + paste it on top of the existing files (not including the .git directory). You can then commit that. Git will do the difficult job of figuring out what you changed from the original template, facilitating synchronisation later on with new templates.

Once you've updated the new repo locally with your code, you can add a git remote for the existing GitHub repository and force push. If you do a regular push it will reject it as the histories are not compatible. If you do a force push then I think it will just wipe everything on GitHub and you'll have the two commits - one from the template and one with your pipeline. Make sure that you push all branches (git push --all).

See the docs about creating a new template for details: https://nf-co.re/developers/adding_pipelines#create-a-pipeline-from-the-template

Maybe you already knew all this stuff? 😀 Just wasn't quite sure what you had done to get to #29 (comment) though, so thought it worth describing.

@pranathivemuri
Copy link
Contributor

closing this as 1.0.0 is released

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants