Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Merge requests
  • !7759

Closed
Created Sep 17, 2014 by Administrator@rootOwner4 of 5 tasks completed4/5 tasks
  • Report abuse
Report abuse

Proof of concept: recommend that user adds README, LICENSE, and .gitignore files

  • Overview 19
  • Commits 1
  • Changes 1

Created by: bbodenmiller

Would like to see the empty repo page recommend that the user add README, LICENSE, and .gitignore files.

image

What's needed to make this happen:

  • GitLab needs to be able to init repo without someone pushing an inited repo (started at https://github.com/gitlabhq/gitlabhq/pull/7069 & https://github.com/gitlabhq/gitlab-shell/pull/153)
  • /new/master?file_name=README.md needs to open an editor to create a new file of the specified name
  • Visiting /new/master?file_name=README.md in an empty repo should return the new file page rather than a 404
  • Selecting commit from /new/master?file_name=README.md when the repo is empty should init the repo and make the commit
  • Test haml code (I just threw this together without testing the links) and styling

Eventually it would be nice to have these key files created via the add project page. README could create a blank file with the project file and LICENSE & .gitignore could be dropdowns pulling info from http://choosealicense.com/ & https://github.com/github/gitignore.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: github/fork/bbodenmiller/patch-5