Comments (34)
@shouze I noticed that too, and I have no idea why the version information doesn't show up for the classes. There's also https://github.com/php-ds/docs/issues/4 which I'm still trying to debug. I'll open an issue there - let's move discussion over to the docs repo for now.
from ext-ds.
Released 1.0.2 as stable. Can now install via pecl install ds
or download DLL's.
from ext-ds.
I have created the package in PECL ...
- Request a pecl account (Check "Need a php.net account?" ... I'll +1 it, I'm sure others will too ...)
- I will set you as lead on package.
- Add package.xml for PECL (I can do that initially, or you can look at any pecl package and have a go yourself)
- Profit.
Releases are done via a web interface thing, you'll be able to figure that out when you have a login.
The same php.net account will be used for committing stuff for #5, when we get there ...
I should have let you do it the normal way maybe ... if anyone complains (they might) I'll delete the package, and you can follow the instructions in the account request page ... hopefully they'll just let us crack on ...
from ext-ds.
💸
from ext-ds.
I've submitted a request, will report on progress.
from ext-ds.
Set as lead on package.
You want to have a go at package.xml, or want me to commit initial one ?
from ext-ds.
I'll make an attempt, would be good to become familiar.
from ext-ds.
Good (read: correct) call ;)
from ext-ds.
✨
from ext-ds.
Added draft package.xml
- Should we be using the PHP license?
- Why do we have to list all the files?
- Is an "alpha" release a valid release type?
PS: Files will change during refactor.
from ext-ds.
Should we be using the PHP license?
While the project is outside of php-src, the MIT license is fine, causes no problems with dist process.
When the project is part of php-src, it will be a good idea to swap over to the PHP license.
If that happens early, there is no loss ...
Why do we have to list all the files?
The package.xml
file is used to create release tarballs, the files you include in there are included in the release tarball (composer.json can be left out, so can .travis.yml etc).
Is an "alpha" release a valid release type?
As far as I know, although I've never used it ...
PS: Files will change during refactor.
That's fine, this is only for practice ;)
The required minimum version of php in package.xml
should be adjusted past the inclusion of the resolution for #16
from ext-ds.
The required minimum version of php in package.xml should be adjusted past the inclusion of the resolution for #16
Can't find a clear closed bug report for it..
from ext-ds.
Ping @nikic, can you dig up that commit for us please Nikita ?
from ext-ds.
Linked in #16
The bug report notes that allow_null
fixes it. I noticed that the arginfo entry was the only case where allow_null
was false. I've updated the arginfo to enable allow_null
, so our version is not affected by the bug.
from ext-ds.
@rtheunissen what do you think about the .deb and rpm packages?
from ext-ds.
@rtheunissen any chance to push the 1st release on pecl soon? We're using ds since about 2 months on some project and (except maybe some leaks, we didn't check well) we didn't encounter any problem.
Tell me how I can help on remaining issues to make this happen.
from ext-ds.
@shouze I'm working on this every day as we speak. My focus at the moment is on source refactoring, leaving only documentation left. I'm not opposed to an early PECL release without proper documentation, but it's definitely something I hope to get out in the coming weeks.
from ext-ds.
I understand, maybe I can help on documentation? Not very familiar with php documentation but no pb to GET familiar with quickly.
from ext-ds.
Most of the documentation is already written under php/include
, it's just not in the proper docbook XML format - something which I'm not familiar with either. It's not a requirement for PECL (as far as I know), so I'm open to a pre-stable release without complete documentation. This would also be a good opportunity to "practice" the release schedule.
I don't want to release a stable 1.0.0 without fully integrated XML documentation though.
from ext-ds.
Ok I'm pretty familiar with docbook I've written some 10 years ago, just have to remember it, will give a try with existing documentation.
from ext-ds.
Actually it used to be under php/include
, it's now just under the polyfill repo. It's been a while since I've gone through everything, but it should serve as a good starting point. I'm working on the refactor
branch at the moment, will merge with master
before the end of the week then start / assist with the documentation and release.
from ext-ds.
@shouze have you started on the documentation at all? I'm about to, just wanted to ask before I potentially redo some of what you've already done.
Will be working on it at https://github.com/php-ds/extension/tree/docbook
from ext-ds.
@rtheunissen not started yet.
from ext-ds.
@shouze See https://github.com/php-ds/docs
from ext-ds.
Documentation is coming along nicely. Currently working on Deque
, which I'll copy over to Sequence
and Vector
with a few changes.
That leaves Map
, Stack
, Queue
, PriorityQueue
and Set
.
@shouze, welcome to help out here. I'll try to get it all done by the end of the weekend anyway, but any help here would fast-track the PECL release.
from ext-ds.
@rtheunissen great, I've forked https://github.com/php-ds/docs and I take on Map at least this week ;)
from ext-ds.
@shouze awesome! Let me know if anything is unclear.
from ext-ds.
@shouze I've done the docs for Map
now, leaving only a few small classes and introductions that I'll cover tomorrow. If you have some time and would like to contribute, feel free to pull and render, and create issues for things that are either incorrect, misleading, or confusing. 😄
from ext-ds.
All docs are now complete. We're ready for PECL. ✨
from ext-ds.
@rtheunissen waw, what fast you are! ;)
I've fetched & builded locally, I've just noticed something strange ATM:
Despite you have that in docs/versions.xml:
<function name='ds\collection' from='PECL ds >= 1.0.0'/>
Once I build the page looks like:
But it works perfectly for
<function name='ds\sequence::__construct' from='PECL ds >= 1.0.0'/>
from ext-ds.
@krakjoe mentioned in room 11 but will copy here for the record. Everything has been fixed, the build on PECL is 1.0.1, and I'm waiting to see if the Windows build completes.
Q: Seeing as 1.0.0 is broken and 1.0.1 wasn't released as "stable", is it possible to remove those releases or start over? Or should we just release 1.0.2 as stable and go from there?
from ext-ds.
Also, do you manually edit package.xml or is there an interface / generator for it? Noticed APCu has a changelog in the package.xml as well. Manual editing or generated?
from ext-ds.
I'm ready to release as stable and submit the documentation, on standby.
from ext-ds.
@rtheunissen great work, thank you so much!
from ext-ds.
Related Issues (20)
- Segmentation fault when Map is used with IteratorIterator (v1.3.0) HOT 3
- Testing for Equality HOT 4
- . HOT 1
- map method for Set? HOT 3
- PHP 8.1 compatibility HOT 5
- How to make sure extension is used HOT 5
- How to install in PHP8 Docker alpine:version image? HOT 8
- Support php 7.4's `__unserialize` to prepare for PHP 9.0 removing Serializable
- Release supporting PHP 8.1 HOT 11
- Audit and update documentation HOT 1
- ReflectionClass and ReflectionObject not reporting information when using Ds\Map via extension
- Passing array item by reference breaks \DS\Set behaviour HOT 1
- php_ds.dll for PHP 8.2.x on Windows HOT 2
- Pecl install missing php 8.2 HOT 3
- Better Interface Segregation (Future Version?) HOT 3
- Clarify Support for PHP 8.3.x and 9.x? HOT 11
- Segmentation fault merging keys of maps containing maps HOT 7
- DLL missing on PECL for 1.5.0 HOT 3
- Upgrade PECL page to identify homepage HOT 2
- Null coalescing operator on Vector make search failed HOT 2
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 ext-ds.