Comments (15)
@stampes Would it be acceptable to add a .gitattributes file to each repository?
If so, add such a file to the root of relevant repositories, containing:
*.apl? linguist-language=APL
I've added this file to this repository, and GitHub now seems to colour .aplf files appropriately. See e.g. this one.
from link.
I looked into this, and it may turn out to be a problem. They write that (my emphasis):
We try only to add new extensions once they have some usage on GitHub. In most cases we prefer that extensions be in use in hundreds of repositories before supporting them (...)
Maybe this is an argument for abandoning the nameclass-specific extensions?
from link.
We will look at that! Thanks
from link.
You really ought to go to the Lingust guys and add aplf as an extension for apl files, may I suggest looking at this guide: https://github.com/github/linguist/blob/master/CONTRIBUTING.md
from link.
We have a lot of repositories with APL code in an Enterprise GitHub installation and prefer not to include .gitattibutes in all these.
from link.
We are reaching out to "the Linguist guys" to understand whether they will waive the stated requirement of "hundreds of repositories" as they clearly did for apl and dyalog, and accept a set of new extensions - at least aplf to begin with (but we also need apla aplo apln aplc and apli, if we are to support the full set according to the current design).
We are also investigating whether a Git Enterprise installation can have a custom default .gitattributes file, as a temporary work-around.
from link.
@mkromberg Why not ask for *.apl?
so we don't have to bother them again with any future extensions. We can even justify it by saying that *.apl?
is like the existing *.apl
but with a specification of the content.
from link.
@mkromberg I don't think you can set this "system wide". At least I found this issue: github-linguist/linguist#4283
from link.
Why not ask for *.apl?
Can you use patterns?
from link.
from link.
Sure, it just isn't obvious to me that patterns are allowed/supported in the https://github.com/github/linguist/blob/master/lib/linguist/languages.yml file.
from link.
No, it doesn't.
We (I'm a co-maintainer of github-linguist) don't receive that many requests to add new extensions that we have felt a need to add this for now.
from link.
I think we have done as much as we can at this point; Dyalog will send a broadcast out to the user community to raise awareness and accelerate use of the new extensions and ultimately adoption by GitHub.
from link.
Closing the discussion. Not a Link issue.
from link.
Might not be a Link issue - but I do see this as a Dyalog issue...
from link.
Related Issues (20)
- ]link.create suggests using "caseCode←1", but for a UCMD you must use "-casecode".
- The error message " ⎕SE.Link.Create: File name case clash - try using caseCode←1:" is unhelpful to a newbie
- Rename -notextfiles to -text={aplan|plain}
- Link docs state Start function creates the name ST but not so in source code
- Hardcoded 'apla' prevents altering that part of typeExtensions
- Wrong name reported from ]ex HOT 1
- If DYALOGLINK is set to a non-existent file, the error message concludes with "Hit Enter" but hitting Enter has no effect
- Export refuses to export LX, with less than helpful message HOT 1
- Improve warning: ".NET or .NetCore not available"
- /latest alias should redirect to /4.0 HOT 2
- Link protests overwriting an existing item if the (sub-)nameclass is changed
- Occassionally, Link causes a .NET error when changing a function or an operator
- ]LINK.Configure * text:plain does not work
- Documentation is unclear about how to specify Debug.NOTIFY with ]LINK.Configure
- ]LINK.Configure should somehow provide which config parameters are allowed
- Saving arrays with text:plain does not always do what it should HOT 1
- Documentation: Dead link in https://dyalog.github.io/link/4.0/Usage/Arrays/
- Link OnAfterFix generates a Warning writing to a network drive, but the write has succeeded
- Setting "text" to "plain" in the configuration can have unpleasant consequences for text files
- The help for ]Link.configure is not good enough
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 link.