Skip to contentSkip to conversation

Summer of Code PAPI project

Printing-architecture Cherif YAYA 4 participants 8 messages Mar 22, 2008 – Mar 30, 2008

lore
Share & tools
lore
#0 lore raw

Hi,
I'm a CS student and I'm very interested in working on the CUPS integration of PAPI project.
I downloaded PAPI tarball and played a bit with the code. I'd like to ask a few questions about the project itself.
There seems to be already some work done in the libpapi-cups folder. I'd like to know how complete that work is and where does this Summer of Code project stand with regard to the existing implementation.
Also in the TODO file, under the libpapi-cups entry it is said that "Once libpapi-ipp is complete this can be dropped, because CUPS will accept jobs from "any" IPP client and the PAPI IPP support is guaranteed to work." Does that mean that any work done for this project would be practically useless? It's probably not the case and I'm probably missing something. But I'd like some clarification as to how the deliverables of this CUPS integration will contribute to the PAPI effort.
Finally, is there any IRC channel where I can get to discuss with some developers? Mailing lists are certainly great but it would definitely be awesome if I could have a live discussion about the project.

Thanks
Cherif YAYA

#1 lore raw
Quoted 2 lines · Cherif YAYA

Hi,
I'm a CS student and I'm very interested in working on the CUPS integration of PAPI project.

Thank you for your interest in the project. On the coding of PAPI is mainly worked by Norm Jacobs and Wendy Phillips currently. Wendy, Norm, can you help on Cherif's questions? Anyone of you would perhaps also work on mentoring?

Till

#2 lore raw
In reply to Cherif YAYA
Quoted 1 line · Cherif YAYA

Also in the TODO file, under the libpapi-cups entry it is said that "Once libpapi-ipp is complete this can be dropped, because CUPS will accept jobs from "any" IPP client and the PAPI IPP support is guaranteed to work." Does that mean that any work done for this project would be practically useless? It's probably not the case and I'm probably missing something. But I'd like some clarification as to how the deliverables of this CUPS integration will contribute to the PAPI effort.

For me this looks more like that libpapi-cups' functionality gets merged into libpapi-ipp. Norm, Wendy, am I correct?

Till

#3 lore raw

Hi Norm and Wendy,

Could one of you answer Cherif's questions below, please?

Thanks very much,
- Ira

Signature · 13 lines
Ira McDonald (Musician / Software Architect)
Chair - Linux Foundation Open Printing WG
Blue Roof Music/High North Inc
email: [email protected]
winter:
 579 Park Place Saline, MI 48176
 734-944-0094
summer:
 PO Box 221 Grand Marais, MI 49839
 906-494-2434


On Sat, Mar 22, 2008 at 8:09 PM, Till Kamppeter
Quoted 21 lines · <[email protected]> wrote:
Quoted 7 lines · Cherif YAYA

Also in the TODO file, under the libpapi-cups entry it is said that "Once libpapi-ipp is complete this can be dropped, because CUPS will accept jobs from "any" IPP client and the PAPI IPP support is guaranteed to work." Does that mean that any work done for this project would be practically useless? It's probably not the case and I'm probably missing something. But I'd like some clarification as to how the deliverables of this CUPS integration will contribute to the PAPI effort.

For me this looks more like that libpapi-cups' functionality gets merged into libpapi-ipp. Norm, Wendy, am I correct?

Till

_______________________________________________
Printing-architecture mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/printing-architecture

#4 lore raw

Till, Ira,
Thanks a lot for your answers.
I'm looking forward to hearing from Norm and Wendy. Particularly about the progress status of the existing implementation.

Cherif

2008/3/23, Ira McDonald <[email protected]>:

Quoted 52 lines

Hi Norm and Wendy,

Could one of you answer Cherif's questions below, please?

Thanks very much,
- Ira

--
Ira McDonald (Musician / Software Architect)
Chair - Linux Foundation Open Printing WG
Blue Roof Music/High North Inc
email: [email protected]
winter:
579 Park Place Saline, MI 48176
734-944-0094
summer:
PO Box 221 Grand Marais, MI 49839
906-494-2434

Quoted 4 lines · Till Kamppeter
Quoted 3 lines · Cherif YAYA

Also in the TODO file, under the libpapi-cups entry it is said that "Once libpapi-ipp is complete this can be dropped, because CUPS will accept jobs from "any" IPP client and the PAPI IPP support is

guaranteed

Quoted 2 lines
Quoted 2 lines

to work." Does that mean that any work done for this project would be practically useless? It's probably not the case and I'm probably

missing

Quoted 1 line
Quoted 1 line

something. But I'd like some clarification as to how the deliverables

of

Quoted 3 lines
Quoted 1 line

this CUPS integration will contribute to the PAPI effort.

For me this looks more like that libpapi-cups' functionality gets

merged

Quoted 11 lines

into libpapi-ipp. Norm, Wendy, am I correct?

Till

_______________________________________________
Printing-architecture mailing list
[email protected]

https://lists.linux-foundation.org/mailman/listinfo/printing-architecture

Quoted 1 line
#5 lore raw

The libpapi-cups code that you found in the papi tarball was originally written by Alan Hlava at IBM. He wrote it as a prototype against an earlier draft of the PAPI (pre v0.92 I think). It is probably pretty close to what's in the PAPI spec, but I don't know for certain. The extent of my experience with it was a fairly quick review of it and some porting work to make it build against libcups.

My recollection of the history of the libpapi-cups code is that it was written by Alan Hlava at IBM as a proof of concept of PAPI prior to the v0.92 draft of the API. He wrote it to build against the a version of the libcups http and ipp interfaces that were split out from libcups. The extent of my experience with that particular code was a fairly quick review of it and some porting work to make it build against libcups (not his broken out subset). I have some vaque recollection that it used some libcups interfaces that would pose problems handling multiple papi_service_t service contexts in the long run.

The most recent PAPI code in the sourceforge openprinting project's SVN repository includes a complete PAPI over IPP implementation that works with CUPS IPP service. That being said, one of the things that has been discussed several times in the OpenPrinting Workgroup is the desire to build a PAPI implementation that would integrate into the CUPS code base. While the PAPI over IPP implementation works with CUPS, it probably wouldn't be exactly what I would integrate into the CUPS code base if I were doing so. A version that were to integrate into the CUPS code base would probably want to

* leverage some of the building blocks in the libcups interfaces (aside from the http and ipp interfaces).
* avoid using a portion of the CUPS convenience interfaces
* maintain CUPS http and ipp constructs per papi_service_t object.

Another thing that is very important to cover here is unit testing of the various interfaces.

-Norm

Quoted 71 lines · Cherif YAYA

Till, Ira,
Thanks a lot for your answers.
I'm looking forward to hearing from Norm and Wendy. Particularly about the progress status of the existing implementation.

Cherif

2008/3/23, Ira McDonald <[email protected] <mailto:[email protected]>>:

Hi Norm and Wendy,

Could one of you answer Cherif's questions below, please?

Thanks very much,
- Ira

--
Ira McDonald (Musician / Software Architect)
Chair - Linux Foundation Open Printing WG
Blue Roof Music/High North Inc
email: [email protected] <mailto:[email protected]> winter:
579 Park Place Saline, MI 48176
734-944-0094
summer:
PO Box 221 Grand Marais, MI 49839
906-494-2434

On Sat, Mar 22, 2008 at 8:09 PM, Till Kamppeter <[email protected] <mailto:[email protected]>> wrote:
> Cherif YAYA wrote:
> > Also in the TODO file, under the libpapi-cups entry it is said that
> > "Once libpapi-ipp is complete this can be dropped, because CUPS will
> > accept jobs from "any" IPP client and the PAPI IPP support is guaranteed
> > to work." Does that mean that any work done for this project would be
> > practically useless? It's probably not the case and I'm probably missing
> > something. But I'd like some clarification as to how the deliverables of
> > this CUPS integration will contribute to the PAPI effort. >
> For me this looks more like that libpapi-cups' functionality gets merged
> into libpapi-ipp. Norm, Wendy, am I correct?
>
>
>
> Till
>

> _______________________________________________
> Printing-architecture mailing list
> [email protected] <mailto:[email protected]>
> https://lists.linux-foundation.org/mailman/listinfo/printing-architecture
>

------------------------------------------------------------------------

_______________________________________________
Printing-architecture mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/printing-architecture

#6 lore raw

Norm, thank you very much for these explanations. One thing I want to ask you. Would you (or Wendy) mentor a student doing the CUPS integration of PAPI? I have my name as interim in the project proposal as I did not succeed to contact you in the last days and Mike Sweet does not want, but it would be much better if you or Wendy mentors the student and not me.

If you or Wendy are willing to mentor, please register at

http://code.google.com/soc/mentor_step1.html

choose the Linux Foundation as organization, wait for my approval, you are ready to see all applications, and add comments to them. After the application deadline on the coming Monday (if no prolongation) you can request the mentorship on an application which I will approve then.

Till

Quoted 93 lines · Norm Jacobs

The libpapi-cups code that you found in the papi tarball was originally written by Alan Hlava at IBM. He wrote it as a prototype against an earlier draft of the PAPI (pre v0.92 I think). It is probably pretty close to what's in the PAPI spec, but I don't know for certain. The extent of my experience with it was a fairly quick review of it and some porting work to make it build against libcups.

My recollection of the history of the libpapi-cups code is that it was written by Alan Hlava at IBM as a proof of concept of PAPI prior to the v0.92 draft of the API. He wrote it to build against the a version of the libcups http and ipp interfaces that were split out from libcups. The extent of my experience with that particular code was a fairly quick review of it and some porting work to make it build against libcups (not his broken out subset). I have some vaque recollection that it used some libcups interfaces that would pose problems handling multiple papi_service_t service contexts in the long run.

The most recent PAPI code in the sourceforge openprinting project's SVN repository includes a complete PAPI over IPP implementation that works with CUPS IPP service. That being said, one of the things that has been discussed several times in the OpenPrinting Workgroup is the desire to build a PAPI implementation that would integrate into the CUPS code base. While the PAPI over IPP implementation works with CUPS, it probably wouldn't be exactly what I would integrate into the CUPS code base if I were doing so. A version that were to integrate into the CUPS code base would probably want to

* leverage some of the building blocks in the libcups interfaces (aside from the http and ipp interfaces).
* avoid using a portion of the CUPS convenience interfaces
* maintain CUPS http and ipp constructs per papi_service_t object.

Another thing that is very important to cover here is unit testing of the various interfaces.

-Norm

Quoted 64 lines · Cherif YAYA

Till, Ira,
Thanks a lot for your answers.
I'm looking forward to hearing from Norm and Wendy. Particularly about the progress status of the existing implementation.

Cherif

2008/3/23, Ira McDonald <[email protected] <mailto:[email protected]>>:

Hi Norm and Wendy,

Could one of you answer Cherif's questions below, please?

Thanks very much,
- Ira

--
Ira McDonald (Musician / Software Architect)
Chair - Linux Foundation Open Printing WG
Blue Roof Music/High North Inc
email: [email protected] <mailto:[email protected]> winter:
579 Park Place Saline, MI 48176
734-944-0094
summer:
PO Box 221 Grand Marais, MI 49839
906-494-2434

On Sat, Mar 22, 2008 at 8:09 PM, Till Kamppeter <[email protected] <mailto:[email protected]>> wrote:
> Cherif YAYA wrote:
> > Also in the TODO file, under the libpapi-cups entry it is said that
> > "Once libpapi-ipp is complete this can be dropped, because CUPS will
> > accept jobs from "any" IPP client and the PAPI IPP support is guaranteed
> > to work." Does that mean that any work done for this project would be
> > practically useless? It's probably not the case and I'm probably missing
> > something. But I'd like some clarification as to how the deliverables of
> > this CUPS integration will contribute to the PAPI effort. >
> For me this looks more like that libpapi-cups' functionality gets merged
> into libpapi-ipp. Norm, Wendy, am I correct?
>
>
>
> Till
>

> _______________________________________________
> Printing-architecture mailing list
> [email protected] <mailto:[email protected]>
> https://lists.linux-foundation.org/mailman/listinfo/printing-architecture
>

Quoted 7 lines

------------------------------------------------------------------------

_______________________________________________
Printing-architecture mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/printing-architecture

_______________________________________________
Printing-architecture mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/printing-architecture

#7 lore raw

Norm,
Thanks a lot for your explanations. You've made more comprehensible several points that I didn't quite get.
I'll put my best into writing my application and I really hope to get to work with you guys.

Cherif

2008/3/28, Till Kamppeter <[email protected]>:

Quoted 145 lines

Norm, thank you very much for these explanations. One thing I want to ask you. Would you (or Wendy) mentor a student doing the CUPS integration of PAPI? I have my name as interim in the project proposal as I did not succeed to contact you in the last days and Mike Sweet does not want, but it would be much better if you or Wendy mentors the student and not me.

If you or Wendy are willing to mentor, please register at

http://code.google.com/soc/mentor_step1.html

choose the Linux Foundation as organization, wait for my approval, you are ready to see all applications, and add comments to them. After the application deadline on the coming Monday (if no prolongation) you can request the mentorship on an application which I will approve then.

Till

Quoted 32 lines · Norm Jacobs

The libpapi-cups code that you found in the papi tarball was originally written by Alan Hlava at IBM. He wrote it as a prototype against an earlier draft of the PAPI (pre v0.92 I think). It is probably pretty close to what's in the PAPI spec, but I don't know for certain. The extent of my experience with it was a fairly quick review of it and some porting work to make it build against libcups.

My recollection of the history of the libpapi-cups code is that it was written by Alan Hlava at IBM as a proof of concept of PAPI prior to the v0.92 draft of the API. He wrote it to build against the a version of the libcups http and ipp interfaces that were split out from libcups. The extent of my experience with that particular code was a fairly quick review of it and some porting work to make it build against libcups (not his broken out subset). I have some vaque recollection that it used some libcups interfaces that would pose problems handling multiple papi_service_t service contexts in the long run.

The most recent PAPI code in the sourceforge openprinting project's SVN repository includes a complete PAPI over IPP implementation that works with CUPS IPP service. That being said, one of the things that has been discussed several times in the OpenPrinting Workgroup is the desire to build a PAPI implementation that would integrate into the CUPS code base. While the PAPI over IPP implementation works with CUPS, it probably wouldn't be exactly what I would integrate into the CUPS code base if I were doing so. A version that were to integrate into the CUPS code base would probably want to

* leverage some of the building blocks in the libcups interfaces (aside from the http and ipp interfaces).
* avoid using a portion of the CUPS convenience interfaces
* maintain CUPS http and ipp constructs per papi_service_t object.

Quoted 69 lines

Another thing that is very important to cover here is unit testing of the various interfaces.

-Norm

Quoted 63 lines · Cherif YAYA

Till, Ira,
Thanks a lot for your answers.
I'm looking forward to hearing from Norm and Wendy. Particularly about the progress status of the existing implementation.

Cherif

2008/3/23, Ira McDonald <[email protected]
<mailto:[email protected]>>:

Hi Norm and Wendy,

Could one of you answer Cherif's questions below, please?

Thanks very much,
- Ira

--
Ira McDonald (Musician / Software Architect)
Chair - Linux Foundation Open Printing WG
Blue Roof Music/High North Inc
email: [email protected] <mailto:[email protected]> winter:
579 Park Place Saline, MI 48176
734-944-0094
summer:
PO Box 221 Grand Marais, MI 49839
906-494-2434

On Sat, Mar 22, 2008 at 8:09 PM, Till Kamppeter <[email protected] <mailto:[email protected]>> wrote:
> Cherif YAYA wrote:
> > Also in the TODO file, under the libpapi-cups entry it is said that
> > "Once libpapi-ipp is complete this can be dropped, because CUPS will
> > accept jobs from "any" IPP client and the PAPI IPP support is guaranteed
> > to work." Does that mean that any work done for this project would be
> > practically useless? It's probably not the case and I'm probably missing
> > something. But I'd like some clarification as to how the deliverables of
> > this CUPS integration will contribute to the PAPI effort. >
> For me this looks more like that libpapi-cups' functionality gets merged
> into libpapi-ipp. Norm, Wendy, am I correct?
>
>
>
> Till
>

> _______________________________________________ > Printing-architecture mailing list
> [email protected] <mailto:[email protected]> >

https://lists.linux-foundation.org/mailman/listinfo/printing-architecture

Quoted 4 lines
Quoted 4 lines
Quoted 1 line

------------------------------------------------------------------------

Quoted 5 lines
Quoted 5 lines

_______________________________________________
Printing-architecture mailing list
[email protected]

https://lists.linux-foundation.org/mailman/listinfo/printing-architecture

Quoted 6 lines
Quoted 1 line

_______________________________________________
Printing-architecture mailing list
[email protected]

https://lists.linux-foundation.org/mailman/listinfo/printing-architecture

Quoted 1 line