Delphi/Pascal files identified as GDB files #5719

Closed
opened 2025-11-02 06:33:57 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @knippers on GitHub (Jul 10, 2020).

Description

Delphi pascal files (forms and the code) are identified as GDB files and not Pascal. The samples folder for linguist does contain valid exampled: https://github.com/github/linguist/tree/master/samples/Pascal.

From what I have read the language statistics code is based on go-enry which seems to have looked at linquist.

Screenshots

image

Originally created by @knippers on GitHub (Jul 10, 2020). ## Description Delphi pascal files (forms and the code) are identified as GDB files and not Pascal. The samples folder for linguist does contain valid exampled: https://github.com/github/linguist/tree/master/samples/Pascal. From what I have read the language statistics code is based on go-enry which seems to have looked at linquist. ## Screenshots ![image](https://user-images.githubusercontent.com/69477/87170296-711e8380-c2d1-11ea-82d0-e77cf8c2e412.png)
GiteaMirror added the issue/confirmedtype/upstream labels 2025-11-02 06:33:57 -06:00
Author
Owner

@CirnoT commented on GitHub (Jul 10, 2020):

You'll have to report your issue to upstream on https://github.com/github/linguist and then to https://github.com/go-enry/go-enry for syncing changes from Linguist.

After you confirm locally that Linguist and go-enry properly see code snippets you can open PR here to update go-enry version we use.

@CirnoT commented on GitHub (Jul 10, 2020): You'll have to report your issue to upstream on https://github.com/github/linguist and then to https://github.com/go-enry/go-enry for syncing changes from Linguist. After you confirm locally that Linguist and go-enry properly see code snippets you can open PR here to update go-enry version we use.
Author
Owner

@stale[bot] commented on GitHub (Sep 11, 2020):

This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions.

@stale[bot] commented on GitHub (Sep 11, 2020): This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions.
Author
Owner

@delvh commented on GitHub (Apr 30, 2023):

Does your problem still occur or was it fixed upstream?
Either way, that's not really something Gitea can fix.

@delvh commented on GitHub (Apr 30, 2023): Does your problem still occur or was it fixed upstream? Either way, that's not really something Gitea can fix.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#5719