-
Notifications
You must be signed in to change notification settings - Fork 0
pdl-io-gd split tasks #3
Comments
A key issue for modules that have been split out from the PDL |
This might need a rethink of how the pdldoc stuff works. |
Very good points. We'll need to add a test to make sure that this always works no matter how we may build the pdldoc database in the future. Better to check breakage first in dev. Perhaps we can add a standard hook for what PDL-Stats does with its |
Brought up in the discussion at <https://github.com/PDLPorters/pdl-io-gd/issues/3>.
A standard hook sounds like the right direction. I'm with Ed that we might --Chris |
I was looking online for past discussion and saw that you commented that
We can do that now! If we are doing a split, then now would be the perfect time to look into that. |
I think that add_doc.pl is very similar to the code in PDL::Doc's "EXAMPLE". What this tells me is we just need an extra bit of API to encapsulate this. Shouldn't be hard. Thoughts? |
Re @zmughal 's quote of a previous remark by @devel-chm , let's not get overcomplicated. I think adding docs that can then be found in the same way as now, i.e. preserving current functionality under the new scheme is enough. What do you guys think? |
I think keeping it minimal---just enough to maintain the pdldoc status quo |
Right, doing it the same way will get the release out the door faster without backcompat issues. And if we do add a hook to PDL::Core, it will already know where the database file is so all it needs to know is the path to scan, correct? |
I assume you mean PDL::Doc, not PDL::Core? It will work in the same way as currently, but hide the detail that is currently revealed/required. |
Yes, @mohawk2. See the issue I created here PDLPorters/pdla-core#2. There are only 2 modules that use the |
A suitably minimal (4-line) fix that makes PDL::IO::GD "just work" in pdldoc: PDLPorters/pdl#122 - though it will need a suitably up-to-date PDL once we release this. |
To replicate the process I've been using to check if this would work with a dep on just git clone -b pdl-core-only https://github.com/PDLPorters/pdl.git
cd pdl
perl Makefile.PL && make test && make install
cd ..
git clone https://github.com/PDLPorters/pdl-io-gd.git
cd pdl-io-gd
perl Makefile.PL && make test && make install Just a note: |
Wow, nice research. May I suggest a follow-up or edit of the above to be a full perlbrew snippet that those reading along at home can try out / see the results of? |
Feel free! |
Makefile.PL
: doneChanges
for new version. Make note that the next release is its own repo and distro: donext/00-check-changelog.t
test: done.gitignore
: donepdldoc
indexing works for the new distperldl.conf
)pdl split meta-issue
The text was updated successfully, but these errors were encountered: