GithubHelp home page GithubHelp logo

Comments (9)

VojtechStep avatar VojtechStep commented on July 17, 2024 2

I'd like to take this issue. What kind of information do we want to display? I currently have a list of authors per file, and I see a list of the last 5 commits in the initial implementation.

from agda-unimath.

jonaprieto avatar jonaprieto commented on July 17, 2024

A starting point could be: https://gist.githubusercontent.com/jonaprieto/4fc4a98e147ef60c15f5ae6b03b04205/raw/6e3149fc37c7d53fc02911dcd25b3bcea04845bb/update-page-git.py

from agda-unimath.

EgbertRijke avatar EgbertRijke commented on July 17, 2024

I think your proposal is reasonable.

One thing that is not so clear to me though, is that if person 2 moves a portion of code written by person 1 to a different file, then git doesn't track that the moved piece of code was originally due to person 1. It will just track person 1's authorship on the original file, which doesn't contain the moved piece of code anymore, and person 2 will now get authorship in the file they moved person 1's code to. So there needs to be some kind of disclaimer, because code actually gets moved around in our library.

from agda-unimath.

VojtechStep avatar VojtechStep commented on July 17, 2024

That is true, git isn't really sophisticated enough to keep track of that information. I will need some input for the specific arrangement on the website (I have zero aesthetic sense), so let me open a PR with the technical implementation tonight and then we can discuss the wording there as well.

from agda-unimath.

EgbertRijke avatar EgbertRijke commented on July 17, 2024

Instead of speaking of authors we could speak of contributors. Either way, when people submit work to agda-unimath it is with the understanding that the material may be freely copied and altered by anyone for any purpose, because we're under an MIT licence.

from agda-unimath.

EgbertRijke avatar EgbertRijke commented on July 17, 2024

I'd be fine with it if in the initial version we have this information at the bottom of each page. But it would also be reasonable to display the contributors directly under the title of the page, and the recent git commit information at the bottom of the page.

from agda-unimath.

EgbertRijke avatar EgbertRijke commented on July 17, 2024

Could there be a way that the list of contributors to a page is added by a script similar to how we generate the indexing files, but in such a way that we can manually add contributors if we feel there is a need for it, and the script makes sure the contributors are listed in alphabetic ordering.

It could also be fun to add a page for each contributor to the website, where we could display some basic information such as links to homepages and github profiles, as well as list all the files in agda-unimath they have contributed to. I think that wouldn't be too hard to maintain, because most of it would be automatically generated.

from agda-unimath.

VojtechStep avatar VojtechStep commented on July 17, 2024

Could there be a way that the list of contributors to a page is added by a script similar to how we generate the indexing files, but in such a way that we can manually add contributors if we feel there is a need for it, and the script makes sure the contributors are listed in alphabetic ordering.

That should technically be possible, but it would require better specification of what we want; for now I'd say we can leave it at whatever information we get from git, and if we feel the need to intervene, we can open a new issue for that. What do you think?

It could also be fun to add a page for each contributor to the website, where we could display some basic information such as links to homepages and github profiles, as well as list all the files in agda-unimath they have contributed to. I think that wouldn't be too hard to maintain, because most of it would be automatically generated.

Definitely, we already have an autogenerated CONTRIBUTORS page (although running the script isn't automated), and that should be extendable.

from agda-unimath.

VojtechStep avatar VojtechStep commented on July 17, 2024

Oh, but I also think that the personalized Contributors page should have its own issue. Would you like to open one?

from agda-unimath.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.