Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable GitHub Pages #91

Open
mgkuhn opened this issue Jun 21, 2019 · 5 comments
Open

Enable GitHub Pages #91

mgkuhn opened this issue Jun 21, 2019 · 5 comments

Comments

@mgkuhn
Copy link

mgkuhn commented Jun 21, 2019

Could you perhaps set under Settings on https://github.com/cambridgeuniversity/Project-Light/settings in the "GitHub Pages" section the "Source" option from currently "None" to "master branch", and thus enable GitHub Pages access here? (Do not choose a theme.)

This way, we could more easily browse the latest version of all the HTML documentation and example pages in this repository at https://cambridgeuniversity.github.io/Project-Light/ as demonstrated in my own fork at https://mgkuhn.github.io/Project-Light/

This would be especially useful in issues (like #70), to be able to provide a GitHub Pages link to quickly demonstrate to readers that a bug exists in the example pages of the latest version of this repository.

Note that enabling GitHub Pages access will make the current version of the files in this repository publicly available, but then this house-style was designed to be used on public-facing web pages, so that should not really be a problem.

@mgkuhn mgkuhn changed the title Enable Github Pages Enable GitHub Pages Jun 21, 2019
@barneybrown
Copy link
Contributor

barneybrown commented Jun 24, 2019 via email

@mgkuhn
Copy link
Author

mgkuhn commented Jun 24, 2019

My vote would be to move the whole thing over to GitLab and pick up from there.

While cloning the git repository history itself from github.com to gitlab.developes.cam.ac.uk is trivial, migrating all the users (how many do we have?) and their issues (nearly 100) and comments for this project properly may not be so trivial: you would have to remap all the usernames that occur in issues. Few people use on github the CRSId that they have to use on https://gitlab.developers.cam.ac.uk/.

You probably would have to encourage users who have commented here to

Significant effort for what benefit? Project Light is not really justifiably a private project: most of its files are used on public websites anyway.

(P.S.: When replying via email on a github issue, be careful not to quote the entire message that you reply to, as that all gets added to the issue, see above. Better reply to an issue via the web interface, after clicking on the "view it on GitHub" link in the email footer.)

@mgkuhn
Copy link
Author

mgkuhn commented Jun 25, 2019

@barneybrown Two things I just leant from @rjw57, who looks after the new UIS GitLab service at https://gitlab.developers.cam.ac.uk/ :

  1. https://gitlab.developers.cam.ac.uk/ currently does not offer the GitLab equivalent of GitHub Pages, and adding that is not trivial the way they have set up GitLab at the moment. So if we want a place to browse the HTML pages in this repository as application/html, we should stay here on GitHub for the time being.
  2. It is easy to migrate a GitHub project to https://gitlab.developers.cam.ac.uk/, via the "New project / Import project / Import project from GitHub" function that is offered to you when you create a new GitLab repository there. But first make sure that you go to https://gitlab.developers.cam.ac.uk/profile/account and that under "Social sign-in" you do connect your GitHub account with your UIS GitLab account. Also encourage all people who have created or commented on issues or pull requests for your project to do the same, such that their usernames can get converted correctly during the import, and they still receive notifications from the UIS GitLab service on any continued discussion of their issues there. (I've just done this.)

@rjw57
Copy link
Member

rjw57 commented Jun 25, 2019

https://gitlab.developers.cam.ac.uk/ currently does not offer the GitLab equivalent of GitHub Pages, and adding that is not trivial the way they have set up GitLab at the moment.

Yes, sorry about that: https://gitlab.developers.cam.ac.uk/uis/devops/devhub/docs/wikis/FAQs#is-the-gitlab-pages-feature-available

@mvl22
Copy link
Contributor

mvl22 commented Oct 27, 2021

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

No branches or pull requests

4 participants