Comments (4)
Also, because we just use git
to pull the info, you can use git mailmap
to update existing entries in the git log: https://git-scm.com/docs/gitmailmap. I believe by setting up proper aliases this should even allow you to collapse all the entries into a single one.
This has the advantage that it won't interfere with future changes to the author list by overriding the stat computation.
Hope that helps!
from swiftpackageindex-server.
Hi @tayloraswift, and I'm sorry if it's not showing what you want it to. We do refresh this list every day from git history. To get the data, we run git shortlog -sn
and populate this field from there.
For this repository, I get this result:
$ git shortlog -sn
79 kelvin13
36 kelvin
16 taylorswift
1 Tobias
1 taylorswift (dianna)
We then take the most significant names from that list and if there are more, it gets "and X other contributors" appended.
Obviously, it's not trivial to fix up the names in the git history so we also allow this field to be overridden with any text that you'd like it to have. We read an authors
property from the .spi.yml
file in your repository.
As an example, the Vapor team have done this:
You can see this specified in their .spi.yml
file here: https://github.com/vapor/vapor/blob/3a7da193a2937472b252b8db210897e7abf37b47/.spi.yml#L3
from swiftpackageindex-server.
See also https://ntietz.com/blog/git-mailmap-for-name-changes/
from swiftpackageindex-server.
I'll close this as I think it might be resolved, but please feel free to re-open it if there is anything still outstanding @tayloraswift!
from swiftpackageindex-server.
Related Issues (20)
- MON-001 analysis failures HOT 1
- Add a new FAQ section covering package score
- Doc display fails for google/generative-ai-swift HOT 3
- swift build and swift package describe SIGSEGV HOT 6
- doc test google-gemini/generative-ai-swift/documentation keeps failing HOT 1
- Investigate `DocRoute` related crashes HOT 11
- Move builder CI tests to Orka HOT 1
- Orka build return codes should propagate back HOT 2
- Don't retry SwiftPM builds HOT 2
- Logic issue in DocumentationProcessor HOT 1
- tvOS build fails for Swift 5.8 and 5.7 HOT 4
- Incorrect source link for documentation HOT 26
- Explore using Hurl to test doc pages
- Heart icon SVG is broken in the GitHub funding panel HOT 3
- ParticleEffects is not picking up changes HOT 7
- swift-metrics doc upload doesn't clear `uploading` stage HOT 1
- Move away from deprecated tools-support-core
- CHECK_BUILDS_SWIFT_VERSIONS_SUCCESSFUL is too tight HOT 1
- Blake2 by Tesseract seems to build quite often HOT 5
- Migrate away from Cloudflare Page Rules
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swiftpackageindex-server.