DIP 1028 @safe by default: compilability list of all dub packages

WebFreak001 d.forum at webfreak.org
Tue Jan 7 21:04:38 UTC 2020


On Tuesday, 7 January 2020 at 16:45:09 UTC, Atila Neves wrote:
> On Tuesday, 7 January 2020 at 11:12:28 UTC, WebFreak001 wrote:
>> On Tuesday, 7 January 2020 at 10:43:44 UTC, Atila Neves wrote:
>>> On Monday, 6 January 2020 at 23:05:29 UTC, WebFreak001 wrote:
>>>>> [...]
>>>>
>>>> Update:
>>>> now built using
>>>> phobos commit c039fed84 (std.bitmanip.bitfields issues fixed)
>>>> dmd commit 0ab7e90df (changes delegate to @safe by default)
>>>>
>>>> [...]
>>>
>>> There are still false negatives - autowrap definitely builds.
>>
>> Running pre-generate commands for autowrap:pynih...
>> make: Entering directory 
>> '/srv/http/org.webfreak.symbols/clones-2020-01-04_00-35-08/5dafbb00bce0bf24b5b71996-autowrap/pynih'
>> make: 'source/python/raw.d' is up to date.
>> make: Leaving directory 
>> '/srv/http/org.webfreak.symbols/clones-2020-01-04_00-35-08/5dafbb00bce0bf24b5b71996-autowrap/pynih'
>> Invalid source/import path: 
>> /srv/http/org.webfreak.symbols/clones-2020-01-04_00-35-08/5dafbb00bce0bf24b5b71996-autowrap/python/source
>> Invalid source/import path: 
>> /srv/http/org.webfreak.symbols/clones-2020-01-04_00-35-08/5dafbb00bce0bf24b5b71996-autowrap/python/source
>> Invalid variable: PYTHON_LIB_DIR
>
> Ah. I guess this project assumes that every project can be 
> built/tested with dub as-is (dub build / dub test). For the 
> ones with .travis.yml files it might be worth parsing the YAML 
> and running the "script" section instead (it'll usually be dub 
> test anyway).

well this project should just give a general idea of the state of 
the ecosystem and not fully be able to build all projects. Right 
now this is a 50 line D file I manually run inside a GNU screen 
on a copy of my dub projects folder and then sort the output 
index.html using vim :p

In reality a few more projects will actually build properly 
there, but a lot of project which currently are marked as working 
won't actually work because of used templates not being 
instantiated right now.

So only really by having broken applications using the libraries 
it's possible to know which libraries are broken.


More information about the Digitalmars-d mailing list