Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.gitignore omitted from azure-functions-archetype-1.52.jar #209

Open
mhw opened this issue Mar 31, 2023 · 1 comment
Open

.gitignore omitted from azure-functions-archetype-1.52.jar #209

mhw opened this issue Mar 31, 2023 · 1 comment
Labels

Comments

@mhw
Copy link

mhw commented Mar 31, 2023

I noticed that a new Azure Functions project I generated yesterday didn't include a .gitignore file, so added my own. As I read the docs further I realised there should have been one and found the source for it in this project. Something seems to have gone wrong when azure-functions-archetype-1.52.jar was built though, as the .gitignore file from this project hasn't been packaged in the JAR file:

$ unzip -l ~/Downloads/azure-functions-archetype-1.52.jar
Archive:  /Users/mhw/Downloads/azure-functions-archetype-1.52.jar
  Length      Date    Time    Name
---------  ---------- -----   ----
     1383  03-01-2023 23:30   META-INF/MANIFEST.MF
     1533  03-01-2023 23:30   META-INF/MSFTSIG.SF
     9489  03-01-2023 23:30   META-INF/MSFTSIG.RSA
        0  03-02-2023 02:33   META-INF/
        0  03-02-2023 02:33   META-INF/maven/
        0  03-02-2023 02:33   META-INF/maven/com.microsoft.azure/
        0  03-02-2023 02:33   META-INF/maven/com.microsoft.azure/azure-functions-archetype/
     4137  03-02-2023 02:33   META-INF/archetype-post-generate.groovy
     2823  03-02-2023 02:33   META-INF/maven/archetype-metadata.xml
     1825  03-02-2023 02:33   META-INF/maven/com.microsoft.azure/azure-functions-archetype/pom.xml
       78  03-02-2023 02:33   META-INF/maven/com.microsoft.azure/azure-functions-archetype/pom.properties
        0  03-02-2023 02:33   archetype-resources/
        0  03-02-2023 02:33   archetype-resources/src/
        0  03-02-2023 02:33   archetype-resources/src/main/
        0  03-02-2023 02:33   archetype-resources/src/main/java/
        0  03-02-2023 02:33   archetype-resources/src/test/
        0  03-02-2023 02:33   archetype-resources/src/test/java/
     7788  03-02-2023 02:33   archetype-resources/pom.xml
      116  03-02-2023 02:33   archetype-resources/local.settings.json
      941  03-02-2023 02:33   archetype-resources/Dockerfile
      758  03-02-2023 02:33   archetype-resources/host.json
     1733  03-02-2023 02:33   archetype-resources/src/main/java/Function.java
     1730  03-02-2023 02:33   archetype-resources/src/test/java/FunctionTest.java
     2229  03-02-2023 02:33   archetype-resources/src/test/java/HttpResponseMessageMock.java
---------                     -------
    36563                     24 files
$ 

I checked the 1.51 JAR and it has the .gitignore, as does the new 1.53 release. I couldn't see any recent commits that seem like they might affect this part of the build process though so I'm guessing it may be an environment issue. Anyway, thought I should report it.

@Flanker32
Copy link
Member

@mhw Thanks a lot for your help, we will investigate this issue

@Flanker32 Flanker32 added the bug label Apr 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants