Skip to content

Add DEVC package creation support#20

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/support-devc-object-type
Draft

Add DEVC package creation support#20
Copilot wants to merge 2 commits intomainfrom
copilot/support-devc-object-type

Conversation

Copy link

Copilot AI commented Mar 2, 2026

The extension had no way to create DEVC (package) objects, which are fundamental to abapGit repository structure.

Changes

  • src/web/create.ts
    • Added createDEVC function: prompts for package name and description, creates a new folder (lowercased name), and writes package.devc.xml in abapGit serializer format
    • Registered DEVC - Package (abapGit) at the top of the artifact type picker in createArtifact

The generated file matches the format already parsed by the artifact tree provider (<CTEXT> for description):

<?xml version="1.0" encoding="utf-8"?>
<abapGit version="v1.0.0" serializer="LCL_OBJECT_DEVC" serializer_version="v1.0.0">
 <asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0">
  <asx:values>
   <DEVC>
    <CTEXT>My Package Description</CTEXT>
   </DEVC>
  </asx:values>
 </asx:abap>
</abapGit>
Original prompt

This section details on the original issue you should resolve

<issue_title>support creation of DEVC object type for packages</issue_title>
<issue_description></issue_description>

Comments on the Issue (you are @copilot in this section)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: larshp <5888506+larshp@users.noreply.github.com>
Copilot AI changed the title [WIP] Add support for creation of DEVC object type for packages Add DEVC package creation support Mar 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

support creation of DEVC object type for packages

2 participants